@@ -15,6 +15,13 @@ includes = [
1515 " src/lib/postgresql/src/Flow/PostgreSql/Protobuf" ,
1616 # Generated by Thrift
1717 " src/lib/parquet/src/Flow/Parquet/ThriftModel" ,
18+ # Generated by protoc (OTLP protocol definitions)
19+ " src/bridge/telemetry/otlp/src/Opentelemetry" ,
20+ " src/bridge/telemetry/otlp/src/GPBMetadata" ,
21+ # Symfony
22+ " src/bridge/symfony/filesystem-bundle/src/Flow/Bridge/Symfony/FilesystemBundle/FlowFilesystemBundle.php" ,
23+ " src/bridge/symfony/postgresql-bundle/src/Flow/Bridge/Symfony/PostgreSqlBundle/FlowPostgreSqlBundle.php" ,
24+ " src/bridge/symfony/telemetry-bundle/src/Flow/Bridge/Symfony/TelemetryBundle/FlowTelemetryBundle.php" ,
1825]
1926excludes = [
2027 " src/**/vendor/**" ,
@@ -30,23 +37,14 @@ enable-short-tags = false
3037plugins = [" flow-php" ]
3138excludes = [
3239 " **/Flow/Types/PHPStan/**" ,
40+ # Symfony bundle/config tests accessing deeply-nested processConfiguration() arrays (all mixed-array-access)
41+ " src/bridge/symfony/filesystem-bundle/tests/Flow/Bridge/Symfony/FilesystemBundle/Tests/Unit/FlowFilesystemBundleTest.php" ,
42+ " src/bridge/symfony/filesystem-bundle/tests/Flow/Bridge/Symfony/FilesystemBundle/Tests/Unit/ConfigurationTest.php" ,
43+ " src/bridge/symfony/postgresql-bundle/tests/Flow/Bridge/Symfony/PostgreSqlBundle/Tests/Unit/DependencyInjection/ConfigurationTest.php" ,
44+ " src/bridge/symfony/postgresql-bundle/tests/Flow/Bridge/Symfony/PostgreSqlBundle/Tests/Integration/FlowPostgreSqlExtensionTest.php" ,
45+ " src/bridge/symfony/telemetry-bundle/tests/Flow/Bridge/Symfony/TelemetryBundle/Tests/Unit/DependencyInjection/ConfigurationTest.php" ,
3346]
34- ignore = [
35- { code = " redundant-docblock-type" , in = [
36- " src/lib/postgresql/src/Flow/PostgreSql/DSL/client.php" ,
37- ] },
38- { code = " unavailable-method" , in = [
39- " src/lib/types/src/Flow/Types/Type/Logical/HTMLElementType.php" ,
40- " src/lib/types/src/Flow/Types/Type/Logical/HTMLType.php" ,
41- " src/lib/types/src/Flow/Types/Type/Native/StringType.php" ,
42- " src/lib/types/tests/Flow/Types/Tests/Unit/Type/Logical/HTMLElementTypeTest.php" ,
43- " src/lib/types/tests/Flow/Types/Tests/Unit/Type/Logical/HTMLTypeTest.php" ,
44- " src/lib/types/tests/Flow/Types/Tests/Unit/Type/Native/StringTypeTest.php" ,
45- " src/lib/types/tests/Flow/Types/Tests/Unit/Type/TypeDetectorTest.php" ,
46- " src/core/etl/src/Flow/ETL/Row/Entry/HTMLEntry.php" ,
47- " src/core/etl/src/Flow/ETL/Row/Entry/HTMLElementEntry.php" ,
48- ] },
49- ]
47+ ignore = []
5048
5149[linter ]
5250integrations = [" symfony" , " phpunit" ]
@@ -113,23 +111,7 @@ no-sprintf-concat = { enabled = false }
113111no-global = { enabled = false }
114112no-redundant-method-override = { enabled = false }
115113no-redundant-else = { enabled = true , level = " warning" }
116- # Bug in Mago 1.28.0 - false positives on $this when passed as a call/constructor argument.
117- # Minimal repro: https://mago.carthage.software/1.27.1/en/playground/#019e3f91-7e6d-75d3-6c51-f9dae0ed72f8
118- # Revisit when fixed upstream.
119- no-redundant-variable = { enabled = true , level = " warning" , exclude = [
120- " **/Flow/ETL/Function/ScalarFunctionChain.php" ,
121- " **/Flow/ETL/DataFrame.php" ,
122- " **/Flow/ETL/Row/EntryReference.php" ,
123- " **/Flow/ETL/Sort/SortAlgorithms.php" ,
124- " **/Flow/PostgreSql/QueryBuilder/**" ,
125- " **/Flow/PostgreSql/Tests/Unit/QueryBuilder/Expression/MockExpression.php" ,
126- " **/Flow/PostgreSql/Explain/Plan/PlanNodeType.php" ,
127- " **/Flow/Filesystem/Path.php" ,
128- " **/CacheSpyClient.php" ,
129- " **/Tests/Unit/ObjectExtractorTest.php" ,
130- " **/array-dot/src/Flow/ArrayDot/array_dot.php" ,
131- " **/TracableHttpClientTest.php" ,
132- ] }
114+ no-redundant-variable = { enabled = true , level = " warning" }
133115strict-types = { enabled = true , level = " error" }
134116no-fully-qualified-global-function = { enabled = true , level = " error" }
135117no-fully-qualified-global-class-like = { enabled = true , level = " error" }
0 commit comments