diff --git a/composer.json b/composer.json index 775b8d2f..ca5bdc8a 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ ], "require": { "php": ">=8.2", - "rtcamp/wp-framework": "dev-main" + "rtcamp/wp-framework": "^1.0" }, "require-dev": { "wp-coding-standards/wpcs": "^2.3", diff --git a/composer.lock b/composer.lock index e01d0c11..5fd4e01c 100644 --- a/composer.lock +++ b/composer.lock @@ -4,20 +4,20 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "2cb40a71ad05e3074aa7f27c09214369", + "content-hash": "fc03e049ceadaf9e8cee4fb9a4657381", "packages": [ { "name": "rtcamp/wp-framework", - "version": "dev-main", + "version": "v1.0.1", "source": { "type": "git", "url": "https://github.com/rtCamp/wp-framework.git", - "reference": "e30352cf578fcba49f889f801311b881cc368908" + "reference": "87774ee10d2e10f5b8bd2561a5d8e4a92f431b8d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rtCamp/wp-framework/zipball/e30352cf578fcba49f889f801311b881cc368908", - "reference": "e30352cf578fcba49f889f801311b881cc368908", + "url": "https://api.github.com/repos/rtCamp/wp-framework/zipball/87774ee10d2e10f5b8bd2561a5d8e4a92f431b8d", + "reference": "87774ee10d2e10f5b8bd2561a5d8e4a92f431b8d", "shasum": "" }, "require": { @@ -32,10 +32,9 @@ "squizlabs/php_codesniffer": "^3.10", "szepeviktor/phpstan-wordpress": "^2.0", "wp-coding-standards/wpcs": "^3.1", - "wp-phpunit/wp-phpunit": "^6.9", + "wp-phpunit/wp-phpunit": "^6.9 || ^7.0", "yoast/phpunit-polyfills": "^4.0" }, - "default-branch": true, "type": "library", "autoload": { "psr-4": { @@ -75,7 +74,7 @@ "issues": "https://github.com/rtCamp/wp-framework/issues", "source": "https://github.com/rtCamp/wp-framework" }, - "time": "2026-06-23T22:36:13+00:00" + "time": "2026-07-29T11:38:56+00:00" } ], "packages-dev": [ @@ -3449,15 +3448,13 @@ ], "aliases": [], "minimum-stability": "dev", - "stability-flags": { - "rtcamp/wp-framework": 20 - }, + "stability-flags": [], "prefer-stable": true, "prefer-lowest": false, "platform": { "php": ">=8.2" }, - "platform-dev": {}, + "platform-dev": [], "platform-overrides": { "php": "8.2" }, diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 07f4864d..47e791a0 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -34,6 +34,8 @@ parameters: - tests/ - vendor/ analyseAndScan: - - node_modules/ + # Optional: the Lint PHP job never runs `npm install`, so this path is + # absent there and PHPStan treats a missing excludePath as a config error. + - node_modules/ (?) scanFiles: - vendor/php-stubs/wp-cli-stubs/wp-cli-stubs.php