Skip to content

Commit 2c07e01

Browse files
committed
License: update year
1 parent 6361130 commit 2c07e01

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

license.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
New BSD License
22
---------------
33

4-
Copyright 2023 Jakub Trmota (https://forrest79.net)
4+
Copyright 2023 Jakub Trmota (https://forrest79.dev)
55

66
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
77

src/PhpCsInjections.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ final class PhpCsInjections
2222
public static function register(): void
2323
{
2424
self::setInjections([static function (string $path, string $code): string {
25-
if (str_ends_with($path, 'vendor/squizlabs/php_codesniffer/src/Files/FileList.php')) {
25+
if (str_ends_with($path, 'vendor/phpcsstandards/php_codesniffer/src/Files/FileList.php') || str_ends_with($path, 'vendor/squizlabs/php_codesniffer/src/Files/FileList.php')) { // squizlabs - backwards compatibility with an abandon PHP_CodeSniffer version
2626
// already patched (why?)
2727
if (str_contains($code, File::class)) {
2828
if (PHP_CODESNIFFER_VERBOSITY > 0) {

0 commit comments

Comments
 (0)