Upgrade to latest PHP_CodeSniffer
This commit is contained in:
parent
c04b92198e
commit
b0004cdabf
|
@ -29,7 +29,7 @@ jobs:
|
||||||
php: 7.1
|
php: 7.1
|
||||||
script:
|
script:
|
||||||
- ./vendor/bin/php-cs-fixer fix --diff --verbose --dry-run
|
- ./vendor/bin/php-cs-fixer fix --diff --verbose --dry-run
|
||||||
- ./vendor/bin/phpcs --report-width=200 --report-summary --report-full samples/ src/ tests/ --ignore=samples/Header.php --standard=PSR2 -n
|
- ./vendor/bin/phpcs --report-width=200 samples/ src/ tests/ --ignore=samples/Header.php --standard=PSR2 -n
|
||||||
|
|
||||||
- stage: Coverage
|
- stage: Coverage
|
||||||
php: 7.1
|
php: 7.1
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"check": [
|
"check": [
|
||||||
"php-cs-fixer fix --ansi --dry-run --diff",
|
"php-cs-fixer fix --ansi --dry-run --diff",
|
||||||
"phpcs --report-width=200 --report-summary --report-full samples/ src/ tests/ --ignore=samples/Header.php --standard=PSR2 -n",
|
"phpcs --report-width=200 samples/ src/ tests/ --ignore=samples/Header.php --standard=PSR2 -n",
|
||||||
"phpunit --color=always"
|
"phpunit --color=always"
|
||||||
],
|
],
|
||||||
"fix": [
|
"fix": [
|
||||||
|
@ -51,12 +51,12 @@
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"tecnickcom/tcpdf": "^6.2",
|
"tecnickcom/tcpdf": "^6.2",
|
||||||
"squizlabs/php_codesniffer": "^2.7",
|
|
||||||
"phpunit/phpunit": "^5.7",
|
"phpunit/phpunit": "^5.7",
|
||||||
"dompdf/dompdf": "^0.8.0",
|
"dompdf/dompdf": "^0.8.0",
|
||||||
"mpdf/mpdf": "^7.0.0",
|
"mpdf/mpdf": "^7.0.0",
|
||||||
"jpgraph/jpgraph": "^4.0",
|
"jpgraph/jpgraph": "^4.0",
|
||||||
"friendsofphp/php-cs-fixer": "@stable"
|
"friendsofphp/php-cs-fixer": "@stable",
|
||||||
|
"squizlabs/php_codesniffer": "^3.3"
|
||||||
},
|
},
|
||||||
"suggest": {
|
"suggest": {
|
||||||
"mpdf/mpdf": "Option for rendering PDF with PDF Writer",
|
"mpdf/mpdf": "Option for rendering PDF with PDF Writer",
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
{
|
{
|
||||||
"_readme": [
|
"_readme": [
|
||||||
"This file locks the dependencies of your project to a known state",
|
"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#composer-lock-the-lock-file",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "1aba55e3ac36d8d5015f9b3193f93c23",
|
"content-hash": "66067b3ab7afd673a28cf0b31eb9ae20",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "markbaker/complex",
|
"name": "markbaker/complex",
|
||||||
|
@ -2201,64 +2201,37 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "squizlabs/php_codesniffer",
|
"name": "squizlabs/php_codesniffer",
|
||||||
"version": "2.8.1",
|
"version": "3.3.1",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
|
"url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
|
||||||
"reference": "d7cf0d894e8aa4c73712ee4a331cc1eaa37cdc7d"
|
"reference": "628a481780561150481a9ec74709092b9759b3ec"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/d7cf0d894e8aa4c73712ee4a331cc1eaa37cdc7d",
|
"url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/628a481780561150481a9ec74709092b9759b3ec",
|
||||||
"reference": "d7cf0d894e8aa4c73712ee4a331cc1eaa37cdc7d",
|
"reference": "628a481780561150481a9ec74709092b9759b3ec",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"ext-simplexml": "*",
|
"ext-simplexml": "*",
|
||||||
"ext-tokenizer": "*",
|
"ext-tokenizer": "*",
|
||||||
"ext-xmlwriter": "*",
|
"ext-xmlwriter": "*",
|
||||||
"php": ">=5.1.2"
|
"php": ">=5.4.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "~4.0"
|
"phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0"
|
||||||
},
|
},
|
||||||
"bin": [
|
"bin": [
|
||||||
"scripts/phpcs",
|
"bin/phpcs",
|
||||||
"scripts/phpcbf"
|
"bin/phpcbf"
|
||||||
],
|
],
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
"dev-master": "2.x-dev"
|
"dev-master": "3.x-dev"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"autoload": {
|
|
||||||
"classmap": [
|
|
||||||
"CodeSniffer.php",
|
|
||||||
"CodeSniffer/CLI.php",
|
|
||||||
"CodeSniffer/Exception.php",
|
|
||||||
"CodeSniffer/File.php",
|
|
||||||
"CodeSniffer/Fixer.php",
|
|
||||||
"CodeSniffer/Report.php",
|
|
||||||
"CodeSniffer/Reporting.php",
|
|
||||||
"CodeSniffer/Sniff.php",
|
|
||||||
"CodeSniffer/Tokens.php",
|
|
||||||
"CodeSniffer/Reports/",
|
|
||||||
"CodeSniffer/Tokenizers/",
|
|
||||||
"CodeSniffer/DocGenerators/",
|
|
||||||
"CodeSniffer/Standards/AbstractPatternSniff.php",
|
|
||||||
"CodeSniffer/Standards/AbstractScopeSniff.php",
|
|
||||||
"CodeSniffer/Standards/AbstractVariableSniff.php",
|
|
||||||
"CodeSniffer/Standards/IncorrectPatternException.php",
|
|
||||||
"CodeSniffer/Standards/Generic/Sniffs/",
|
|
||||||
"CodeSniffer/Standards/MySource/Sniffs/",
|
|
||||||
"CodeSniffer/Standards/PEAR/Sniffs/",
|
|
||||||
"CodeSniffer/Standards/PSR1/Sniffs/",
|
|
||||||
"CodeSniffer/Standards/PSR2/Sniffs/",
|
|
||||||
"CodeSniffer/Standards/Squiz/Sniffs/",
|
|
||||||
"CodeSniffer/Standards/Zend/Sniffs/"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"notification-url": "https://packagist.org/downloads/",
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
"license": [
|
"license": [
|
||||||
"BSD-3-Clause"
|
"BSD-3-Clause"
|
||||||
|
@ -2275,7 +2248,7 @@
|
||||||
"phpcs",
|
"phpcs",
|
||||||
"standards"
|
"standards"
|
||||||
],
|
],
|
||||||
"time": "2017-03-01T22:17:45+00:00"
|
"time": "2018-07-26T23:47:18+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/console",
|
"name": "symfony/console",
|
||||||
|
|
Loading…
Reference in New Issue