Skip to content

Commit

Permalink
Bump staabm/phpstan-todo-by from 0.1.23 to 0.1.25 (#668)
Browse files Browse the repository at this point in the history
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Markus Staab <[email protected]>
  • Loading branch information
dependabot[bot] and staabm authored Feb 12, 2024
1 parent 40c5ba3 commit 57d383f
Show file tree
Hide file tree
Showing 9 changed files with 170 additions and 41 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"sqlftw/sqlftw": "0.1.14",
"staabm/phpstan-baseline-analysis": "0.12.4",
"staabm/phpstan-dba": "0.2.79",
"staabm/phpstan-todo-by": "0.1.23",
"staabm/phpstan-todo-by": "0.1.25",
"symplify/phpstan-rules": "12.4.8",
"thecodingmachine/phpstan-safe-rule": "1.2",
"thecodingmachine/safe": "1.3.3",
Expand Down
14 changes: 7 additions & 7 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions vendor/composer/autoload_classmap.php
Original file line number Diff line number Diff line change
Expand Up @@ -2161,6 +2161,7 @@
'staabm\\PHPStanDba\\UnresolvableQueryStringTypeException' => $vendorDir . '/staabm/phpstan-dba/src/UnresolvableQueryStringTypeException.php',
'staabm\\PHPStanTodoBy\\TodoByDateRule' => $vendorDir . '/staabm/phpstan-todo-by/src/TodoByDateRule.php',
'staabm\\PHPStanTodoBy\\TodoByPackageVersionRule' => $vendorDir . '/staabm/phpstan-todo-by/src/TodoByPackageVersionRule.php',
'staabm\\PHPStanTodoBy\\TodoBySymfonyDeprecationRule' => $vendorDir . '/staabm/phpstan-todo-by/src/TodoBySymfonyDeprecationRule.php',
'staabm\\PHPStanTodoBy\\TodoByTicketCollector' => $vendorDir . '/staabm/phpstan-todo-by/src/TodoByTicketCollector.php',
'staabm\\PHPStanTodoBy\\TodoByTicketRule' => $vendorDir . '/staabm/phpstan-todo-by/src/TodoByTicketRule.php',
'staabm\\PHPStanTodoBy\\TodoByVersionRule' => $vendorDir . '/staabm/phpstan-todo-by/src/TodoByVersionRule.php',
Expand Down
1 change: 1 addition & 0 deletions vendor/composer/autoload_static.php
Original file line number Diff line number Diff line change
Expand Up @@ -2380,6 +2380,7 @@ class ComposerStaticInit9cf8af24a7a084f114b4553be2a1ff9f
'staabm\\PHPStanDba\\UnresolvableQueryStringTypeException' => __DIR__ . '/..' . '/staabm/phpstan-dba/src/UnresolvableQueryStringTypeException.php',
'staabm\\PHPStanTodoBy\\TodoByDateRule' => __DIR__ . '/..' . '/staabm/phpstan-todo-by/src/TodoByDateRule.php',
'staabm\\PHPStanTodoBy\\TodoByPackageVersionRule' => __DIR__ . '/..' . '/staabm/phpstan-todo-by/src/TodoByPackageVersionRule.php',
'staabm\\PHPStanTodoBy\\TodoBySymfonyDeprecationRule' => __DIR__ . '/..' . '/staabm/phpstan-todo-by/src/TodoBySymfonyDeprecationRule.php',
'staabm\\PHPStanTodoBy\\TodoByTicketCollector' => __DIR__ . '/..' . '/staabm/phpstan-todo-by/src/TodoByTicketCollector.php',
'staabm\\PHPStanTodoBy\\TodoByTicketRule' => __DIR__ . '/..' . '/staabm/phpstan-todo-by/src/TodoByTicketRule.php',
'staabm\\PHPStanTodoBy\\TodoByVersionRule' => __DIR__ . '/..' . '/staabm/phpstan-todo-by/src/TodoByVersionRule.php',
Expand Down
42 changes: 21 additions & 21 deletions vendor/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -1092,17 +1092,17 @@
},
{
"name": "sqlftw/sqlftw",
"version": "v0.1.13",
"version_normalized": "0.1.13.0",
"version": "v0.1.14",
"version_normalized": "0.1.14.0",
"source": {
"type": "git",
"url": "https://github.com/SQLFTW/sqlftw.git",
"reference": "3c423710fe7882565e77d2afc1f28aac7acb0305"
"reference": "ba4615a4575c3cbc63c9ac06476e92e73cb88e91"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/SQLFTW/sqlftw/zipball/3c423710fe7882565e77d2afc1f28aac7acb0305",
"reference": "3c423710fe7882565e77d2afc1f28aac7acb0305",
"url": "https://api.github.com/repos/SQLFTW/sqlftw/zipball/ba4615a4575c3cbc63c9ac06476e92e73cb88e91",
"reference": "ba4615a4575c3cbc63c9ac06476e92e73cb88e91",
"shasum": ""
},
"require": {
Expand All @@ -1117,7 +1117,7 @@
"phpstan/phpstan-strict-rules": "^1.0",
"rector/rector": "0.14.8"
},
"time": "2023-10-31T15:29:04+00:00",
"time": "2024-02-08T10:58:26+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
Expand All @@ -1139,7 +1139,7 @@
"homepage": "https://github.com/sqlftw/sqlftw",
"support": {
"issues": "https://github.com/SQLFTW/sqlftw/issues",
"source": "https://github.com/SQLFTW/sqlftw/tree/v0.1.13"
"source": "https://github.com/SQLFTW/sqlftw/tree/v0.1.14"
},
"install-path": "../sqlftw/sqlftw"
},
Expand Down Expand Up @@ -1285,17 +1285,17 @@
},
{
"name": "staabm/phpstan-todo-by",
"version": "0.1.23",
"version_normalized": "0.1.23.0",
"version": "0.1.25",
"version_normalized": "0.1.25.0",
"source": {
"type": "git",
"url": "https://github.com/staabm/phpstan-todo-by.git",
"reference": "02352a34ae7e0ccb3348f3f0e04a562d5b4cb6c1"
"reference": "d79acf78e77683130f176c8f582aebf215562c63"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/staabm/phpstan-todo-by/zipball/02352a34ae7e0ccb3348f3f0e04a562d5b4cb6c1",
"reference": "02352a34ae7e0ccb3348f3f0e04a562d5b4cb6c1",
"url": "https://api.github.com/repos/staabm/phpstan-todo-by/zipball/d79acf78e77683130f176c8f582aebf215562c63",
"reference": "d79acf78e77683130f176c8f582aebf215562c63",
"shasum": ""
},
"require": {
Expand All @@ -1313,7 +1313,7 @@
"phpunit/phpunit": "^9 || ^10.5",
"redaxo/php-cs-fixer-config": "^1.0"
},
"time": "2024-02-05T08:51:22+00:00",
"time": "2024-02-12T18:37:56+00:00",
"type": "phpstan-extension",
"extra": {
"phpstan": {
Expand Down Expand Up @@ -1342,7 +1342,7 @@
],
"support": {
"issues": "https://github.com/staabm/phpstan-todo-by/issues",
"source": "https://github.com/staabm/phpstan-todo-by/tree/0.1.23"
"source": "https://github.com/staabm/phpstan-todo-by/tree/0.1.25"
},
"funding": [
{
Expand Down Expand Up @@ -1437,17 +1437,17 @@
},
{
"name": "symplify/phpstan-rules",
"version": "12.4.7",
"version_normalized": "12.4.7.0",
"version": "12.4.8",
"version_normalized": "12.4.8.0",
"source": {
"type": "git",
"url": "https://github.com/symplify/phpstan-rules.git",
"reference": "7ebbcf2883c5e5ee3807c6580f7a9865970e83b7"
"reference": "393656aaf9fd09d9dc40d658c57ef222dd1f082d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symplify/phpstan-rules/zipball/7ebbcf2883c5e5ee3807c6580f7a9865970e83b7",
"reference": "7ebbcf2883c5e5ee3807c6580f7a9865970e83b7",
"url": "https://api.github.com/repos/symplify/phpstan-rules/zipball/393656aaf9fd09d9dc40d658c57ef222dd1f082d",
"reference": "393656aaf9fd09d9dc40d658c57ef222dd1f082d",
"shasum": ""
},
"require": {
Expand All @@ -1457,7 +1457,7 @@
"phpstan/phpstan": "^1.10.30",
"webmozart/assert": "^1.11"
},
"time": "2024-01-17T11:30:56+00:00",
"time": "2024-02-09T21:23:31+00:00",
"type": "phpstan-extension",
"extra": {
"phpstan": {
Expand All @@ -1479,7 +1479,7 @@
"description": "Set of Symplify rules for PHPStan",
"support": {
"issues": "https://github.com/symplify/phpstan-rules/issues",
"source": "https://github.com/symplify/phpstan-rules/tree/12.4.7"
"source": "https://github.com/symplify/phpstan-rules/tree/12.4.8"
},
"funding": [
{
Expand Down
22 changes: 11 additions & 11 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => 'dev-main',
'version' => 'dev-main',
'reference' => '84aacae40df64bbc4faa79455814de5acdb83796',
'reference' => '2925cd637462e636a87ce139a2b6327695c3a2f5',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand All @@ -13,7 +13,7 @@
'__root__' => array(
'pretty_version' => 'dev-main',
'version' => 'dev-main',
'reference' => '84aacae40df64bbc4faa79455814de5acdb83796',
'reference' => '2925cd637462e636a87ce139a2b6327695c3a2f5',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand Down Expand Up @@ -176,9 +176,9 @@
'dev_requirement' => false,
),
'sqlftw/sqlftw' => array(
'pretty_version' => 'v0.1.13',
'version' => '0.1.13.0',
'reference' => '3c423710fe7882565e77d2afc1f28aac7acb0305',
'pretty_version' => 'v0.1.14',
'version' => '0.1.14.0',
'reference' => 'ba4615a4575c3cbc63c9ac06476e92e73cb88e91',
'type' => 'library',
'install_path' => __DIR__ . '/../sqlftw/sqlftw',
'aliases' => array(),
Expand All @@ -203,9 +203,9 @@
'dev_requirement' => false,
),
'staabm/phpstan-todo-by' => array(
'pretty_version' => '0.1.23',
'version' => '0.1.23.0',
'reference' => '02352a34ae7e0ccb3348f3f0e04a562d5b4cb6c1',
'pretty_version' => '0.1.25',
'version' => '0.1.25.0',
'reference' => 'd79acf78e77683130f176c8f582aebf215562c63',
'type' => 'phpstan-extension',
'install_path' => __DIR__ . '/../staabm/phpstan-todo-by',
'aliases' => array(),
Expand All @@ -221,9 +221,9 @@
'dev_requirement' => false,
),
'symplify/phpstan-rules' => array(
'pretty_version' => '12.4.7',
'version' => '12.4.7.0',
'reference' => '7ebbcf2883c5e5ee3807c6580f7a9865970e83b7',
'pretty_version' => '12.4.8',
'version' => '12.4.8.0',
'reference' => '393656aaf9fd09d9dc40d658c57ef222dd1f082d',
'type' => 'phpstan-extension',
'install_path' => __DIR__ . '/../symplify/phpstan-rules',
'aliases' => array(),
Expand Down
3 changes: 2 additions & 1 deletion vendor/sqlftw/sqlftw/sources/Parser/TokenList.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
use function is_scalar;
use function ltrim;
use function mb_strlen;
use function min;
use function preg_match;
use function rtrim;
use function strlen;
Expand Down Expand Up @@ -303,7 +304,7 @@ public function isFinished(): bool
}

// do not reset trailing delimiter on next run
$this->position = $n + 1; // @phpstan-ignore-line $n is always defined
$this->position = min($n + 1, count($this->tokens)); // @phpstan-ignore-line $n is always defined

return true;
}
Expand Down
6 changes: 6 additions & 0 deletions vendor/staabm/phpstan-todo-by/extension.neon
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,12 @@ services:
arguments:
- %todo_by.singleGitRepo%

-
class: staabm\PHPStanTodoBy\TodoBySymfonyDeprecationRule
tags: [phpstan.rules.rule]
arguments:
workingDirectory: %currentWorkingDirectory%

-
class: staabm\PHPStanTodoBy\TodoByPackageVersionRule
tags: [phpstan.rules.rule]
Expand Down
Loading

0 comments on commit 57d383f

Please sign in to comment.