Skip to content

Commit 78b63cb

Browse files
authored
Merge pull request #27 from tattersoftware/retool
Update DevKit
2 parents d17f9a8 + 9d34878 commit 78b63cb

File tree

11 files changed

+17
-23
lines changed

11 files changed

+17
-23
lines changed

.github/workflows/deptrac.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Set up PHP
3232
uses: shivammathur/setup-php@v2
3333
with:
34-
php-version: '8.0'
34+
php-version: '8.1'
3535
tools: phive
3636
extensions: intl, json, mbstring, xml
3737
coverage: none

.github/workflows/infection.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Set up PHP
3232
uses: shivammathur/setup-php@v2
3333
with:
34-
php-version: '8.0'
34+
php-version: '8.1'
3535
tools: infection, phpunit
3636
extensions: intl, json, mbstring, gd, xml, sqlite3
3737
coverage: xdebug

.github/workflows/phpcpd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Setup PHP
2828
uses: shivammathur/setup-php@v2
2929
with:
30-
php-version: '8.0'
30+
php-version: '8.1'
3131
tools: phpcpd
3232
extensions: dom, mbstring
3333
coverage: none

.github/workflows/phpcsfixer.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,9 @@ on:
1616

1717
jobs:
1818
build:
19-
name: PHP ${{ matrix.php-versions }} Coding Standards
19+
name: Coding Standards
2020
runs-on: ubuntu-latest
2121
if: "!contains(github.event.head_commit.message, '[ci skip]')"
22-
strategy:
23-
fail-fast: false
24-
matrix:
25-
php-versions: ['7.4', '8.0', '8.1']
2622

2723
steps:
2824
- name: Checkout
@@ -31,7 +27,7 @@ jobs:
3127
- name: Set up PHP
3228
uses: shivammathur/setup-php@v2
3329
with:
34-
php-version: ${{ matrix.php-versions }}
30+
php-version: '8.1'
3531
extensions: json, tokenizer
3632
coverage: none
3733
env:

.github/workflows/psalm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Setup PHP
3232
uses: shivammathur/setup-php@v2
3333
with:
34-
php-version: '8.0'
34+
php-version: '8.1'
3535
tools: phpstan, phpunit
3636
extensions: intl, json, mbstring, xml
3737
coverage: none

.github/workflows/rector.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,5 @@ jobs:
6363
6464
- name: Analyze for refactoring
6565
run: |
66-
composer global require --dev rector/rector:^0.12.16
66+
composer global require --dev rector/rector:^0.13.8
6767
rector process --dry-run --no-progress-bar

.github/workflows/unused.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Setup PHP
3030
uses: shivammathur/setup-php@v2
3131
with:
32-
php-version: '8.0'
32+
php-version: '8.1'
3333
tools: composer, composer-unused
3434
extensions: intl, json, mbstring, xml
3535
coverage: none

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ class Visits extends BaseConfig
124124

125125
## User tracking
126126

127-
`Visits` will use any Composer package that provides `codeigniter4/authentication-implementation`
127+
**Visits** will use any Composer package that provides `codeigniter4/authentication-implementation`
128128
to identify an active user. It is not legal nor advisable to track user traffic in all cases,
129129
so make sure you are configuring your project appropriately for local laws and regulations.
130130
Filtering and anonymizing data to meet tighter specifications can be accomplished with Transformers.

composer-unused.php

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,9 @@
77
use ComposerUnused\ComposerUnused\Configuration\PatternFilter;
88
use Webmozart\Glob\Glob;
99

10-
return static function (Configuration $config): Configuration {
11-
return $config
12-
// ->addNamedFilter(NamedFilter::fromString('symfony/config'))
13-
// ->addPatternFilter(PatternFilter::fromString('/symfony-.*/'))
14-
->setAdditionalFilesFor('codeigniter4/framework', [
15-
...Glob::glob(__DIR__ . '/vendor/codeigniter4/framework/system/Helpers/*.php'),
16-
]);
17-
};
10+
return static fn (Configuration $config): Configuration => $config
11+
// ->addNamedFilter(NamedFilter::fromString('symfony/config'))
12+
// ->addPatternFilter(PatternFilter::fromString('/symfony-.*/'))
13+
->setAdditionalFilesFor('codeigniter4/framework', [
14+
...Glob::glob(__DIR__ . '/vendor/codeigniter4/framework/system/Helpers/*.php'),
15+
]);

deptrac.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ parameters:
114114
Service:
115115
- Config
116116
- Vendor Config
117-
117+
118118
# Ignore anything in the Vendor layers
119119
Vendor Model:
120120
- Config

0 commit comments

Comments
 (0)