diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..eef1830 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,8 @@ +/.gitattributes export-ignore +/.github/ export-ignore +/.gitignore export-ignore +/.laminas-ci.json export-ignore +/docs/ export-ignore +/mkdocs.yml export-ignore +/phpcs.xml export-ignore +/test/ export-ignore diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml new file mode 100644 index 0000000..fe5f1b4 --- /dev/null +++ b/.github/workflows/continuous-integration.yml @@ -0,0 +1,33 @@ +name: "Continuous Integration" + +on: + pull_request: + push: + branches: + - '[0-9]+.[0-9]+.x' + - 'refs/pull/*' + tags: + +jobs: + matrix: + name: Generate job matrix + runs-on: ubuntu-latest + outputs: + matrix: ${{ steps.matrix.outputs.matrix }} + steps: + - name: Gather CI configuration + id: matrix + uses: laminas/laminas-ci-matrix-action@v1 + + qa: + name: QA Checks + needs: [matrix] + runs-on: ${{ matrix.operatingSystem }} + strategy: + fail-fast: false + matrix: ${{ fromJSON(needs.matrix.outputs.matrix) }} + steps: + - name: ${{ matrix.name }} + uses: laminas/laminas-continuous-integration-action@v1 + with: + job: ${{ matrix.job }} \ No newline at end of file diff --git a/.gitignore b/.gitignore index 5a6699a..8e6e859 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ /.phpcs-cache /clover.xml -/composer.lock /coveralls-upload.json /docs/html/ /laminas-mkdoc-theme.tgz diff --git a/.laminas-ci.json b/.laminas-ci.json new file mode 100644 index 0000000..73ae813 --- /dev/null +++ b/.laminas-ci.json @@ -0,0 +1,18 @@ +{ + "additional_checks": [ + { + "name": "QA Checks", + "job": { + "php": "*", + "command": "composer check", + "dependencies": ["lowest", "latest"] + } + }, + { + "name": "Lint ruleset.xml using phpcs.xsd schema", + "job": { + "command": "xmllint --noout --schema vendor/squizlabs/php_codesniffer/phpcs.xsd src/LaminasCodingStandard/ruleset.xml" + } + } + ] +} \ No newline at end of file diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 2003cb2..0000000 --- a/.travis.yml +++ /dev/null @@ -1,52 +0,0 @@ -language: php - -cache: - directories: - - $HOME/.composer/cache - -env: - global: - - COMPOSER_ARGS="--no-interaction --ignore-platform-reqs" - -matrix: - fast_finish: true - include: - - php: 7.3 - env: - - DEPS=lowest - - php: 7.3 - env: - - DEPS=latest - - php: 7.4 - env: - - DEPS=lowest - - php: 7.4 - env: - - DEPS=latest - - php: nightly - env: - - DEPS=lowest - - php: nightly - env: - - DEPS=latest - -addons: - apt: - packages: - - libxml2-utils - -before_install: - - phpenv config-rm xdebug.ini || return 0 - -install: - - travis_retry composer install $COMPOSER_ARGS - - if [[ $DEPS == 'latest' ]]; then travis_retry composer update $COMPOSER_ARGS ; fi - - if [[ $DEPS == 'lowest' ]]; then travis_retry composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS ; fi - - stty cols 120 && composer show - -script: - - xmllint --noout --schema vendor/squizlabs/php_codesniffer/phpcs.xsd src/LaminasCodingStandard/ruleset.xml - - composer check - -notifications: - email: false diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index 5868c35..0000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,282 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file, in reverse chronological order by release. - -## 2.1.4 - 2020-10-26 - - ------ - -### Release Notes for [2.1.4](https://github.com/laminas/laminas-coding-standard/milestone/9) - -2.1.x bugfix release (patch) - -### 2.1.4 - -- Total issues resolved: **0** -- Total pull requests resolved: **1** -- Total contributors: **1** - -#### Bug - - - [54: fix: loosen typehint rules](https://github.com/laminas/laminas-coding-standard/pull/54) thanks to @geerteltink - -## 2.1.3 - 2020-10-25 - - ------ - -### Release Notes for [2.1.3](https://github.com/laminas/laminas-coding-standard/milestone/8) - -2.1.x bugfix release (patch) - -### 2.1.3 - -- Total issues resolved: **0** -- Total pull requests resolved: **1** -- Total contributors: **1** - -#### Bug - - - [52: Remove double referenced rule](https://github.com/laminas/laminas-coding-standard/pull/52) thanks to @geerteltink - -## 2.1.2 - 2020-10-25 - - ------ - -### Release Notes for [2.1.2](https://github.com/laminas/laminas-coding-standard/milestone/7) - -2.1.x bugfix release (patch) - -### 2.1.2 - -- Total issues resolved: **2** -- Total pull requests resolved: **2** -- Total contributors: **3** - -#### Bug - - - [49: Handle intersection types correctly](https://github.com/laminas/laminas-coding-standard/pull/49) thanks to @geerteltink and @weierophinney - - [48: Disable automatic missing native typehint fixing](https://github.com/laminas/laminas-coding-standard/pull/48) thanks to @geerteltink and @autowp - -## 2.1.1 - 2020-10-24 - ------ - -### Release Notes for [2.1.1](https://github.com/laminas/laminas-coding-standard/milestone/4) - -2.1.x bugfix release (patch) - -### 2.1.1 - -- Total issues resolved: **3** -- Total pull requests resolved: **4** -- Total contributors: **3** - -#### Documentation - - - [45: docs: add example for type hinting in docblocks](https://github.com/laminas/laminas-coding-standard/pull/45) thanks to @geerteltink and @Xerkus - -#### Bug - - - [44: fix: unused imports and generics](https://github.com/laminas/laminas-coding-standard/pull/44) thanks to @geerteltink - - [41: fix: update dependencies to ensure some fixes are included](https://github.com/laminas/laminas-coding-standard/pull/41) thanks to @geerteltink - -#### Enhancement - - - [42: feat: php 8 support](https://github.com/laminas/laminas-coding-standard/pull/42) thanks to @geerteltink and @boesing - -## 2.0.1 - 2020-07-02 - -### Added - -- [#34](https://github.com/laminas/laminas-coding-standard/pull/34) Added support for `dealerdirect/phpcodesniffer-composer-installer` 0.7 and thus composer 2.0 - -### Changed - -- Nothing. - -### Deprecated - -- Nothing. - -### Removed - -- Nothing. - -### Fixed - -- Nothing. - -## 2.0.0 - 2020-05-04 - -### Added - -- Nothing. - -### Changed - -- [zendframework/zend-coding-standard#22](https://github.com/zendframework/zend-coding-standard/pull/22) refactors - documentation. It now follows the PHP-FIG PSR-12 style. -- [zendframework/zend-coding-standard#22](https://github.com/zendframework/zend-coding-standard/pull/22) refactors - the ruleset. It uses PSR-12 as the base ruleset with these additional rules: - - - The short open tag SHOULD NOT be used. - - Deprecated features SHOULD be avoided. - - The backtick operator MUST NOT be used. - - The `goto` language construct SHOULD NOT be used. - - The `global` keyword MUST NOT be used. - - The constant `PHP_SAPI` SHOULD be used instead of the `php_sapi_name()` - function. - - Aliases SHOULD NOT be used. - - There MUST NOT be a space before a semicolon. Redundant semicolons SHOULD - be avoided. - - Non executable code MUST be removed. - - There MUST be a single space after language constructs. - - Parentheses MUST be omitted where possible. - - PHP function calls MUST be in lowercase. - - There MAY NOT be any content before the opening tag. Inline HTML in PHP code - SHOULD be avoided. All code MUST be executable and non executable code SHOULD - be removed. - - The `declare(strict_types=1)` directive MUST be declared and be the first - statement in a file. - - There MAY be maximum one blank line to improve readability and to indicate - related blocks of code except where explicitly forbidden. - - There MAY NOT be any blank line after opening braces and before closing braces. - - There MUST NOT be a space before a semicolon. Redundant semicolons SHOULD be - avoided. - - Encapsed strings MAY be used instead of concatenating strings. When - concatenating strings, there MUST be a single whitespace before and after the - concatenation operator. The concatenation operator MUST NOT be the at the end - of a line. If multi-line concatenation is used there MUST be an indent of 4 - spaces. - - Variable names MUST be declared in camelCase. - - The short array syntax MUST be used to define arrays. - - All values in multiline arrays must be indented with 4 spaces. - - All array values must be followed by a comma, including the last value. - - There MUST NOT be whitespace around the opening bracket or before the closing - bracket when referencing an array. - - All double arrow symbols MUST be aligned to one space after the longest array - key. - - The short list syntax `[...]` SHOULD be used instead of `list(...)`. - - There MUST be a single space after the namespace keyword and there MAY NOT be - a space around a namespace separator. - - Import statements MUST be alphabetically sorted. - - Unused import statements SHOULD be removed. - - Fancy group import statements MUST NOT be used. - - Each import statement MUST be on its own line. - - Import statement aliases for classes, traits, functions and constants MUST - be useful, meaning that aliases SHOULD only be used if a class with the same - name is imported. - - Classes, traits, interfaces, constants and functions MUST be imported. - - There MUST NOT be duplicate class names. - - The file name MUST match the case of the terminating class name. - - PHP 4 style constructors MUST NOT be used. - - Correct class name casing MUST be used. - - Abstract classes MUST have a `Abstract` prefix. - - Exception classes MUST have a `Exception` suffix. - - Interface classes MUST have a `Interface` suffix. - - Trait classes MUST have a `Trait` suffix. - - For self-reference a class lower-case `self::` MUST be used without spaces - around the scope resolution operator. - - Class name resolution via `::class` MUST be used instead of `__CLASS__`, - `get_class()`, `get_class($this)`, `get_called_class()`, `get_parent_class()` - and string reference. - - There MAY NOT be any whitespace around the double colon operator. - - Unused private methods, constants and properties MUST be removed. - - Traits MUST be sorted alphabetically. - - Default null values MUST be omitted for class properties. - - There MUST be a single empty line between methods in a class. - - The pseudo-variable `$this` MUST NOT be called inside a static method or - function. - - Returned variables SHOULD be useful and SHOULD NOT be assigned to a value and - returned on the next line. - - The question mark MUST be used when the default argument value is null. - - The `final` keyword on methods MUST be omitted in final declared classes. - - There MUST be one single space after `break` and `continue` structures with - a numeric argument argument. - - Statements MUST NOT be empty, except for catch statements. - - The `continue` control structure MUST NOT be used in switch statements, - `break` SHOULD be used instead. - - All catch blocks MUST be reachable. - - There MUST be at least one space on either side of an equals sign used - to assign a value to a variable. In case of a block of related - assignments, more spaces MUST be inserted before the equal sign to - promote readability. - - There MUST NOT be any white space around the object operator UNLESS - multilines are used. - - Loose comparison operators SHOULD NOT be used, use strict comparison - operators instead. e.g. use `===` instead of `==`. - - The null coalesce operator SHOULD be used when possible. - - Assignment operators SHOULD be used when possible. - - The `&&` and `||` operators SHOULD be used instead of `and` and `or`. - - There MUST be one whitespace after a type casting operator. - - There MUST be one whitespace after unary not. - - Inherited variables passed via `use` MUST be used in closures. - - Code SHOULD be written so it explains itself. DocBlocks and comments - SHOULD only be used if necessary. They MUST NOT start with `#` and MUST - NOT be empty. They SHOULD NOT be used for already typehinted arguments, - except arrays. - - The asterisks in a DocBlock should align, and there should be one - space between the asterisk and tag. - - PHPDoc tags `@param`, `@return` and `@throws` SHOULD not be aligned or - contain multiple spaces between the tag, type and description. - - If a function throws any exceptions, it SHOULD be documented with - `@throws` tags. - - DocBlocks MUST follow a specific order of annotations with empty - newline between specific groups. - - The annotations `@api`, `@author`, `@category`, `@created`, `@package`, - `@subpackage` and `@version` MUST NOT be used in comments. Git commits - provide accurate information. - - The words _private_, _protected_, _static_, _constructor_, _deconstructor_, - _Created by_, _getter_ and _setter_, MUST NOT be used in comments. - - The `@var` tag MAY be used in inline comments to document the _Type_ - of properties. Single-line property comments with a `@var` tag SHOULD - be written as one-liners. The `@var` MAY NOT be used for constants. - - The correct tag case of PHPDocs and PHPUnit tags MUST be used. - - Inline DocComments MAY be used at the end of the line, with at least a - single space preceding. Inline DocComments MUST NOT be placed after curly - brackets. - - Heredoc and nowdoc tags MUST be uppercase without spaces. - -### Deprecated - -- Nothing. - -### Removed - -- Nothing. - -### Fixed - -- [#16](https://github.com/laminas/laminas-coding-standard/pull/16) fixes the placement of strict type declarations. -- [#12](https://github.com/laminas/laminas-coding-standard/pull/12) fixes coding standard name. - -## 1.0.0 - 2016-11-09 - -Initial public release. Incorporates rules for: - -- PSR-2 -- disallow long array syntax -- space after not operator -- whitespace around operators -- disallow superfluous whitespace - -and enables color reporting by default. - -### Added - -- Nothing. - -### Deprecated - -- Nothing. - -### Removed - -- Nothing. - -### Fixed - -- Nothing. diff --git a/README.md b/README.md index 4e5e5d6..f735672 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # laminas-coding-standard -[![Build Status](https://travis-ci.com/laminas/laminas-coding-standard.svg?branch=master)](https://travis-ci.com/laminas/laminas-coding-standard) +[![Build Status](https://github.com/laminas/laminas-coding-standard/actions/workflows/continuous-integration.yml/badge.svg)](https://github.com/laminas/laminas-coding-standard/actions/workflows/continuous-integration.yml) The coding standard ruleset for Laminas components. diff --git a/composer.lock b/composer.lock new file mode 100644 index 0000000..95fc2bd --- /dev/null +++ b/composer.lock @@ -0,0 +1,378 @@ +{ + "_readme": [ + "This file locks the dependencies of your project to a known state", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", + "This file is @generated automatically" + ], + "content-hash": "820668e355ff01c371da75b66abefcb0", + "packages": [ + { + "name": "dealerdirect/phpcodesniffer-composer-installer", + "version": "v0.7.1", + "source": { + "type": "git", + "url": "https://github.com/Dealerdirect/phpcodesniffer-composer-installer.git", + "reference": "fe390591e0241955f22eb9ba327d137e501c771c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Dealerdirect/phpcodesniffer-composer-installer/zipball/fe390591e0241955f22eb9ba327d137e501c771c", + "reference": "fe390591e0241955f22eb9ba327d137e501c771c", + "shasum": "" + }, + "require": { + "composer-plugin-api": "^1.0 || ^2.0", + "php": ">=5.3", + "squizlabs/php_codesniffer": "^2.0 || ^3.0 || ^4.0" + }, + "require-dev": { + "composer/composer": "*", + "phpcompatibility/php-compatibility": "^9.0", + "sensiolabs/security-checker": "^4.1.0" + }, + "type": "composer-plugin", + "extra": { + "class": "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin" + }, + "autoload": { + "psr-4": { + "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Franck Nijhof", + "email": "franck.nijhof@dealerdirect.com", + "homepage": "http://www.frenck.nl", + "role": "Developer / IT Manager" + } + ], + "description": "PHP_CodeSniffer Standards Composer Installer Plugin", + "homepage": "http://www.dealerdirect.com", + "keywords": [ + "PHPCodeSniffer", + "PHP_CodeSniffer", + "code quality", + "codesniffer", + "composer", + "installer", + "phpcs", + "plugin", + "qa", + "quality", + "standard", + "standards", + "style guide", + "stylecheck", + "tests" + ], + "support": { + "issues": "https://github.com/dealerdirect/phpcodesniffer-composer-installer/issues", + "source": "https://github.com/dealerdirect/phpcodesniffer-composer-installer" + }, + "time": "2020-12-07T18:04:37+00:00" + }, + { + "name": "laminas/laminas-zendframework-bridge", + "version": "1.2.0", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-zendframework-bridge.git", + "reference": "6cccbddfcfc742eb02158d6137ca5687d92cee32" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laminas/laminas-zendframework-bridge/zipball/6cccbddfcfc742eb02158d6137ca5687d92cee32", + "reference": "6cccbddfcfc742eb02158d6137ca5687d92cee32", + "shasum": "" + }, + "require": { + "php": "^7.3 || ^8.0" + }, + "require-dev": { + "phpunit/phpunit": "^5.7 || ^6.5 || ^7.5 || ^8.1 || ^9.3", + "psalm/plugin-phpunit": "^0.15.1", + "squizlabs/php_codesniffer": "^3.5", + "vimeo/psalm": "^4.6" + }, + "type": "library", + "extra": { + "laminas": { + "module": "Laminas\\ZendFrameworkBridge" + } + }, + "autoload": { + "files": [ + "src/autoload.php" + ], + "psr-4": { + "Laminas\\ZendFrameworkBridge\\": "src//" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "Alias legacy ZF class names to Laminas Project equivalents.", + "keywords": [ + "ZendFramework", + "autoloading", + "laminas", + "zf" + ], + "support": { + "forum": "https://discourse.laminas.dev/", + "issues": "https://github.com/laminas/laminas-zendframework-bridge/issues", + "rss": "https://github.com/laminas/laminas-zendframework-bridge/releases.atom", + "source": "https://github.com/laminas/laminas-zendframework-bridge" + }, + "funding": [ + { + "url": "https://funding.communitybridge.org/projects/laminas-project", + "type": "community_bridge" + } + ], + "time": "2021-02-25T21:54:58+00:00" + }, + { + "name": "phpstan/phpdoc-parser", + "version": "0.4.9", + "source": { + "type": "git", + "url": "https://github.com/phpstan/phpdoc-parser.git", + "reference": "98a088b17966bdf6ee25c8a4b634df313d8aa531" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/98a088b17966bdf6ee25c8a4b634df313d8aa531", + "reference": "98a088b17966bdf6ee25c8a4b634df313d8aa531", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "consistence/coding-standard": "^3.5", + "ergebnis/composer-normalize": "^2.0.2", + "jakub-onderka/php-parallel-lint": "^0.9.2", + "phing/phing": "^2.16.0", + "phpstan/extension-installer": "^1.0", + "phpstan/phpstan": "^0.12.26", + "phpstan/phpstan-strict-rules": "^0.12", + "phpunit/phpunit": "^6.3", + "slevomat/coding-standard": "^4.7.2", + "symfony/process": "^4.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "0.4-dev" + } + }, + "autoload": { + "psr-4": { + "PHPStan\\PhpDocParser\\": [ + "src/" + ] + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "PHPDoc parser with support for nullable, intersection and generic types", + "support": { + "issues": "https://github.com/phpstan/phpdoc-parser/issues", + "source": "https://github.com/phpstan/phpdoc-parser/tree/master" + }, + "time": "2020-08-03T20:32:43+00:00" + }, + { + "name": "slevomat/coding-standard", + "version": "6.4.1", + "source": { + "type": "git", + "url": "https://github.com/slevomat/coding-standard.git", + "reference": "696dcca217d0c9da2c40d02731526c1e25b65346" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/696dcca217d0c9da2c40d02731526c1e25b65346", + "reference": "696dcca217d0c9da2c40d02731526c1e25b65346", + "shasum": "" + }, + "require": { + "dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7", + "php": "^7.1 || ^8.0", + "phpstan/phpdoc-parser": "0.4.5 - 0.4.9", + "squizlabs/php_codesniffer": "^3.5.6" + }, + "require-dev": { + "phing/phing": "2.16.3", + "php-parallel-lint/php-parallel-lint": "1.2.0", + "phpstan/phpstan": "0.12.48", + "phpstan/phpstan-deprecation-rules": "0.12.5", + "phpstan/phpstan-phpunit": "0.12.16", + "phpstan/phpstan-strict-rules": "0.12.5", + "phpunit/phpunit": "7.5.20|8.5.5|9.4.0" + }, + "type": "phpcodesniffer-standard", + "extra": { + "branch-alias": { + "dev-master": "6.x-dev" + } + }, + "autoload": { + "psr-4": { + "SlevomatCodingStandard\\": "SlevomatCodingStandard" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Slevomat Coding Standard for PHP_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.", + "support": { + "issues": "https://github.com/slevomat/coding-standard/issues", + "source": "https://github.com/slevomat/coding-standard/tree/6.4.1" + }, + "funding": [ + { + "url": "https://github.com/kukulich", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/slevomat/coding-standard", + "type": "tidelift" + } + ], + "time": "2020-10-05T12:39:37+00:00" + }, + { + "name": "squizlabs/php_codesniffer", + "version": "3.6.0", + "source": { + "type": "git", + "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", + "reference": "ffced0d2c8fa8e6cdc4d695a743271fab6c38625" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/ffced0d2c8fa8e6cdc4d695a743271fab6c38625", + "reference": "ffced0d2c8fa8e6cdc4d695a743271fab6c38625", + "shasum": "" + }, + "require": { + "ext-simplexml": "*", + "ext-tokenizer": "*", + "ext-xmlwriter": "*", + "php": ">=5.4.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0" + }, + "bin": [ + "bin/phpcs", + "bin/phpcbf" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.x-dev" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Greg Sherwood", + "role": "lead" + } + ], + "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.", + "homepage": "https://github.com/squizlabs/PHP_CodeSniffer", + "keywords": [ + "phpcs", + "standards" + ], + "support": { + "issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues", + "source": "https://github.com/squizlabs/PHP_CodeSniffer", + "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki" + }, + "time": "2021-04-09T00:54:41+00:00" + }, + { + "name": "webimpress/coding-standard", + "version": "1.2.2", + "source": { + "type": "git", + "url": "https://github.com/webimpress/coding-standard.git", + "reference": "8f4a220de33f471a8101836f7ec72b852c3f9f03" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/webimpress/coding-standard/zipball/8f4a220de33f471a8101836f7ec72b852c3f9f03", + "reference": "8f4a220de33f471a8101836f7ec72b852c3f9f03", + "shasum": "" + }, + "require": { + "php": "^7.3 || ^8.0", + "squizlabs/php_codesniffer": "^3.6" + }, + "require-dev": { + "phpunit/phpunit": "^9.5.4" + }, + "type": "phpcodesniffer-standard", + "extra": { + "dev-master": "1.2.x-dev", + "dev-develop": "1.3.x-dev" + }, + "autoload": { + "psr-4": { + "WebimpressCodingStandard\\": "src/WebimpressCodingStandard/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-2-Clause" + ], + "description": "Webimpress Coding Standard", + "keywords": [ + "Coding Standard", + "PSR-2", + "phpcs", + "psr-12", + "webimpress" + ], + "support": { + "issues": "https://github.com/webimpress/coding-standard/issues", + "source": "https://github.com/webimpress/coding-standard/tree/1.2.2" + }, + "funding": [ + { + "url": "https://github.com/michalbundyra", + "type": "github" + } + ], + "time": "2021-04-12T12:51:27+00:00" + } + ], + "packages-dev": [], + "aliases": [], + "minimum-stability": "stable", + "stability-flags": [], + "prefer-stable": false, + "prefer-lowest": false, + "platform": { + "php": "^7.3 || ~8.0.0" + }, + "platform-dev": [], + "plugin-api-version": "2.0.0" +}