From ffe66a1c2e16d177734d11b90ef1274bd2420168 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 1 Oct 2025 17:14:45 +0000 Subject: [PATCH 1/2] Bump doctrine/coding-standard from 13.0.1 to 14.0.0 Bumps [doctrine/coding-standard](https://github.com/doctrine/coding-standard) from 13.0.1 to 14.0.0. - [Release notes](https://github.com/doctrine/coding-standard/releases) - [Commits](https://github.com/doctrine/coding-standard/compare/13.0.1...14.0.0) --- updated-dependencies: - dependency-name: doctrine/coding-standard dependency-version: 14.0.0 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 57 +++++++++++++++++++++++---------------------------- 2 files changed, 27 insertions(+), 32 deletions(-) diff --git a/composer.json b/composer.json index bf0d8ea..ed13566 100644 --- a/composer.json +++ b/composer.json @@ -43,7 +43,7 @@ "require-dev": { "ext-openssl": "*", "behat/behat": "^3.24.1", - "doctrine/coding-standard": "^13.0.1", + "doctrine/coding-standard": "^14.0.0", "phpstan/phpstan": "^2.1.29", "phpunit/phpunit": "^10.5.58" }, diff --git a/composer.lock b/composer.lock index d6828b8..0117d18 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "12fab71dbc20dcc0e3bea71fb0d18c37", + "content-hash": "401fc5d7d7d609caa9230971e8c845dd", "packages": [ { "name": "composer/ca-bundle", @@ -2803,23 +2803,23 @@ }, { "name": "doctrine/coding-standard", - "version": "13.0.1", + "version": "14.0.0", "source": { "type": "git", "url": "https://github.com/doctrine/coding-standard.git", - "reference": "0affd62169186f32de725ca612e6129e81186a21" + "reference": "897a7dc209e49ee6cf04e689c41112df17967130" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/coding-standard/zipball/0affd62169186f32de725ca612e6129e81186a21", - "reference": "0affd62169186f32de725ca612e6129e81186a21", + "url": "https://api.github.com/repos/doctrine/coding-standard/zipball/897a7dc209e49ee6cf04e689c41112df17967130", + "reference": "897a7dc209e49ee6cf04e689c41112df17967130", "shasum": "" }, "require": { "dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7 || ^1.0.0", "php": "^7.4 || ^8.0", - "slevomat/coding-standard": "^8.16", - "squizlabs/php_codesniffer": "^3.7" + "slevomat/coding-standard": "^8.23", + "squizlabs/php_codesniffer": "^4" }, "type": "phpcodesniffer-standard", "notification-url": "https://packagist.org/downloads/", @@ -2853,9 +2853,9 @@ ], "support": { "issues": "https://github.com/doctrine/coding-standard/issues", - "source": "https://github.com/doctrine/coding-standard/tree/13.0.1" + "source": "https://github.com/doctrine/coding-standard/tree/14.0.0" }, - "time": "2025-05-14T10:54:19+00:00" + "time": "2025-09-21T18:21:47+00:00" }, { "name": "myclabs/deep-copy", @@ -4583,32 +4583,32 @@ }, { "name": "slevomat/coding-standard", - "version": "8.22.1", + "version": "8.24.0", "source": { "type": "git", "url": "https://github.com/slevomat/coding-standard.git", - "reference": "1dd80bf3b93692bedb21a6623c496887fad05fec" + "reference": "08e7989c0351f3f38b82172838195c35d9819efa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/1dd80bf3b93692bedb21a6623c496887fad05fec", - "reference": "1dd80bf3b93692bedb21a6623c496887fad05fec", + "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/08e7989c0351f3f38b82172838195c35d9819efa", + "reference": "08e7989c0351f3f38b82172838195c35d9819efa", "shasum": "" }, "require": { "dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7 || ^1.1.2", "php": "^7.4 || ^8.0", "phpstan/phpdoc-parser": "^2.3.0", - "squizlabs/php_codesniffer": "^3.13.4" + "squizlabs/php_codesniffer": "^4.0.0" }, "require-dev": { "phing/phing": "3.0.1|3.1.0", "php-parallel-lint/php-parallel-lint": "1.4.0", - "phpstan/phpstan": "2.1.24", + "phpstan/phpstan": "2.1.29", "phpstan/phpstan-deprecation-rules": "2.0.3", "phpstan/phpstan-phpunit": "2.0.7", "phpstan/phpstan-strict-rules": "2.0.6", - "phpunit/phpunit": "9.6.8|10.5.48|11.4.4|11.5.36|12.3.10" + "phpunit/phpunit": "9.6.8|10.5.48|11.4.4|11.5.36|12.3.14" }, "type": "phpcodesniffer-standard", "extra": { @@ -4632,7 +4632,7 @@ ], "support": { "issues": "https://github.com/slevomat/coding-standard/issues", - "source": "https://github.com/slevomat/coding-standard/tree/8.22.1" + "source": "https://github.com/slevomat/coding-standard/tree/8.24.0" }, "funding": [ { @@ -4644,41 +4644,36 @@ "type": "tidelift" } ], - "time": "2025-09-13T08:53:30+00:00" + "time": "2025-09-25T21:37:40+00:00" }, { "name": "squizlabs/php_codesniffer", - "version": "3.13.4", + "version": "4.0.0", "source": { "type": "git", "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git", - "reference": "ad545ea9c1b7d270ce0fc9cbfb884161cd706119" + "reference": "06113cfdaf117fc2165f9cd040bd0f17fcd5242d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/ad545ea9c1b7d270ce0fc9cbfb884161cd706119", - "reference": "ad545ea9c1b7d270ce0fc9cbfb884161cd706119", + "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/06113cfdaf117fc2165f9cd040bd0f17fcd5242d", + "reference": "06113cfdaf117fc2165f9cd040bd0f17fcd5242d", "shasum": "" }, "require": { "ext-simplexml": "*", "ext-tokenizer": "*", "ext-xmlwriter": "*", - "php": ">=5.4.0" + "php": ">=7.2.0" }, "require-dev": { - "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4" + "phpunit/phpunit": "^8.4.0 || ^9.3.4 || ^10.5.32 || 11.3.3 - 11.5.28 || ^11.5.31" }, "bin": [ "bin/phpcbf", "bin/phpcs" ], "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.x-dev" - } - }, "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" @@ -4697,7 +4692,7 @@ "homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer/graphs/contributors" } ], - "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.", + "description": "PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.", "homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer", "keywords": [ "phpcs", @@ -4728,7 +4723,7 @@ "type": "thanks_dev" } ], - "time": "2025-09-05T05:47:09+00:00" + "time": "2025-09-15T11:28:58+00:00" }, { "name": "symfony/config", From 2ab49190bbc5b45cc595b5018cab968d9d8e0c4c Mon Sep 17 00:00:00 2001 From: James Titcumb Date: Mon, 13 Oct 2025 22:08:17 +0100 Subject: [PATCH 2/2] Apply latest CS fixes --- bin/pie | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/bin/pie b/bin/pie index 7ebdecf..155b1ca 100755 --- a/bin/pie +++ b/bin/pie @@ -6,10 +6,10 @@ declare(strict_types=1); namespace Php\Pie; use Php\Pie\Command\BuildCommand; -use Php\Pie\Command\InstallExtensionsForProjectCommand; use Php\Pie\Command\DownloadCommand; use Php\Pie\Command\InfoCommand; use Php\Pie\Command\InstallCommand; +use Php\Pie\Command\InstallExtensionsForProjectCommand; use Php\Pie\Command\RepositoryAddCommand; use Php\Pie\Command\RepositoryListCommand; use Php\Pie\Command\RepositoryRemoveCommand; @@ -24,11 +24,16 @@ use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\EventDispatcher\EventDispatcher; +use function error_reporting; + +use const E_DEPRECATED; + require_once __DIR__ . '/../src/Util/PieVersion.php'; if (PieVersion::isPharBuild()) { error_reporting(error_reporting() & ~E_DEPRECATED); } +// phpcs:ignore Squiz.NamingConventions.ValidVariableName.NotCamelCaps include $_composer_autoload_path ?? __DIR__ . '/../vendor/autoload.php'; $container = Container::factory(); @@ -52,7 +57,7 @@ $application->setCommandLoader(new ContainerCommandLoader( 'self-update' => SelfUpdateCommand::class, 'self-verify' => SelfVerifyCommand::class, 'install-extensions-for-project' => InstallExtensionsForProjectCommand::class, - ] + ], )); $application->run($container->get(InputInterface::class), $container->get(OutputInterface::class));