summaryrefslogtreecommitdiff
path: root/vendor/doctrine/lexer/UPGRADE.md
diff options
context:
space:
mode:
authorpolo <ordipolo@gmx.fr>2026-10-18 00:08:23 +0200
committerpolo <ordipolo@gmx.fr>2026-10-18 00:10:03 +0200
commit05e38eadbeb3de19e5b26003c2b401e00bb71df4 (patch)
treecf48350b69cfce92de6f3a0e03eb0876931c7077 /vendor/doctrine/lexer/UPGRADE.md
parent32843e50aa981f190bdb4fbc9adbeacc06fdf775 (diff)
downloadAppliGestionPHP-05e38eadbeb3de19e5b26003c2b401e00bb71df4.tar.gz
AppliGestionPHP-05e38eadbeb3de19e5b26003c2b401e00bb71df4.tar.bz2
AppliGestionPHP-05e38eadbeb3de19e5b26003c2b401e00bb71df4.zip
sortie de vendor du dépôt, oubli dans config-template.ini
Diffstat (limited to 'vendor/doctrine/lexer/UPGRADE.md')
-rw-r--r--vendor/doctrine/lexer/UPGRADE.md22
1 files changed, 0 insertions, 22 deletions
diff --git a/vendor/doctrine/lexer/UPGRADE.md b/vendor/doctrine/lexer/UPGRADE.md
deleted file mode 100644
index 1933fcb..0000000
--- a/vendor/doctrine/lexer/UPGRADE.md
+++ /dev/null
@@ -1,22 +0,0 @@
1Note about upgrading: Doctrine uses static and runtime mechanisms to raise
2awareness about deprecated code.
3
4- Use of `@deprecated` docblock that is detected by IDEs (like PHPStorm) or
5 Static Analysis tools (like Psalm, phpstan)
6- Use of our low-overhead runtime deprecation API, details:
7 https://github.com/doctrine/deprecations/
8
9# Upgrade to 3.0.0
10
11`Doctrine\Common\Lexer\Token` no longer implements `ArrayAccess`.
12Parameter type declarations have been added to
13`Doctrine\Common\Lexer\AbstractLexer` and `Doctrine\Common\Lexer\Token`.
14You should add both parameter type declarations and return type declarations to
15your lexers, based on the `@return` phpdoc.
16
17# Upgrade to 2.0.0
18
19`AbstractLexer::glimpse()` and `AbstractLexer::peek()` now return
20instances of `Doctrine\Common\Lexer\Token`, which is an array-like class
21Using it as an array is deprecated in favor of using properties of that class.
22Using `count()` on it is deprecated with no replacement.