@@ -80,7 +80,7 @@ def setup_optional_type(self):
8080 self .main_setup ()
8181
8282 @irrelevant (
83- context .library in ["python" ],
83+ context .library in ["python" , "php" ],
8484 reason = "Not supported" ,
8585 )
8686 def test_optional_type (self ):
@@ -124,7 +124,7 @@ def setup_optional_request_body_type(self):
124124 self .main_setup ()
125125
126126 @irrelevant (
127- context .library in ["dotnet" , "nodejs" , "python" , "ruby" ],
127+ context .library in ["dotnet" , "nodejs" , "python" , "ruby" , "php" ],
128128 reason = "Not supported" ,
129129 )
130130 @missing_feature (context .library == "java" and context .weblog_variant in ["spring-boot" ])
@@ -146,7 +146,7 @@ def setup_optional_response_body_type(self):
146146 (context .library == "python" and context .weblog_variant != "fastapi" ),
147147 reason = "Not applicable to weblog variant" ,
148148 )
149- @irrelevant (context .library in ["dotnet" , "nodejs" , "ruby" ], reason = "Not supported" )
149+ @irrelevant (context .library in ["dotnet" , "nodejs" , "ruby" , "php" ], reason = "Not supported" )
150150 def test_optional_response_body_type (self ):
151151 endpoints = self ._get_endpoints ()
152152 found = False
@@ -172,7 +172,7 @@ def setup_optional_response_code(self):
172172 (context .library == "python" and context .weblog_variant != "fastapi" ),
173173 reason = "Not applicable to weblog variant" ,
174174 )
175- @irrelevant (context .library in ["dotnet" , "nodejs" , "ruby" ], reason = "Not supported" )
175+ @irrelevant (context .library in ["dotnet" , "nodejs" , "ruby" , "php" ], reason = "Not supported" )
176176 def test_optional_response_code (self ):
177177 endpoints = self ._get_endpoints ()
178178 found = False
@@ -193,7 +193,7 @@ def setup_optional_authentication(self):
193193 reason = "Not applicable to weblog variant" ,
194194 )
195195 @irrelevant (
196- context .library in ["dotnet" , "nodejs" , "python" , "ruby" ],
196+ context .library in ["dotnet" , "nodejs" , "python" , "ruby" , "php" ],
197197 reason = "Not supported" ,
198198 )
199199 def test_optional_authentication (self ):
@@ -212,7 +212,7 @@ def setup_optional_metadata(self):
212212 self .main_setup ()
213213
214214 @irrelevant (
215- context .library in ["python" , "dotnet" , "nodejs" , "ruby" ],
215+ context .library in ["python" , "dotnet" , "nodejs" , "ruby" , "php" ],
216216 reason = "Not supported" ,
217217 )
218218 def test_optional_metadata (self ):
0 commit comments