We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| @@ 293-296 (lines=4) @@ | ||
| 290 | */ |
|
| 291 | protected function assertSmartQuotesStyle( $style, $open, $close ) { |
|
| 292 | switch ( $style ) { |
|
| 293 | case 'doubleCurled': |
|
| 294 | $this->assertSame( Strings::_uchr( 8220 ), $open, "Opening quote $open did not match quote style $style." ); |
|
| 295 | $this->assertSame( Strings::_uchr( 8221 ), $close, "Closeing quote $close did not match quote style $style." ); |
|
| 296 | break; |
|
| 297 | ||
| 298 | case 'doubleCurledReversed': |
|
| 299 | $this->assertSame( Strings::_uchr( 8221 ), $open, "Opening quote $open did not match quote style $style." ); |
|
| @@ 298-301 (lines=4) @@ | ||
| 295 | $this->assertSame( Strings::_uchr( 8221 ), $close, "Closeing quote $close did not match quote style $style." ); |
|
| 296 | break; |
|
| 297 | ||
| 298 | case 'doubleCurledReversed': |
|
| 299 | $this->assertSame( Strings::_uchr( 8221 ), $open, "Opening quote $open did not match quote style $style." ); |
|
| 300 | $this->assertSame( Strings::_uchr( 8221 ), $close, "Closeing quote $close did not match quote style $style." ); |
|
| 301 | break; |
|
| 302 | ||
| 303 | case 'doubleLow9': |
|
| 304 | $this->assertSame( Strings::_uchr( 8222 ), $open, "Opening quote $open did not match quote style $style." ); |
|
| @@ 303-306 (lines=4) @@ | ||
| 300 | $this->assertSame( Strings::_uchr( 8221 ), $close, "Closeing quote $close did not match quote style $style." ); |
|
| 301 | break; |
|
| 302 | ||
| 303 | case 'doubleLow9': |
|
| 304 | $this->assertSame( Strings::_uchr( 8222 ), $open, "Opening quote $open did not match quote style $style." ); |
|
| 305 | $this->assertSame( Strings::_uchr( 8221 ), $close, "Closeing quote $close did not match quote style $style." ); |
|
| 306 | break; |
|
| 307 | ||
| 308 | case 'doubleLow9Reversed': |
|
| 309 | $this->assertSame( Strings::_uchr( 8222 ), $open, "Opening quote $open did not match quote style $style." ); |
|
| @@ 308-311 (lines=4) @@ | ||
| 305 | $this->assertSame( Strings::_uchr( 8221 ), $close, "Closeing quote $close did not match quote style $style." ); |
|
| 306 | break; |
|
| 307 | ||
| 308 | case 'doubleLow9Reversed': |
|
| 309 | $this->assertSame( Strings::_uchr( 8222 ), $open, "Opening quote $open did not match quote style $style." ); |
|
| 310 | $this->assertSame( Strings::_uchr( 8220 ), $close, "Closeing quote $close did not match quote style $style." ); |
|
| 311 | break; |
|
| 312 | ||
| 313 | case 'singleCurled': |
|
| 314 | $this->assertSame( Strings::_uchr( 8216 ), $open, "Opening quote $open did not match quote style $style." ); |
|
| @@ 313-316 (lines=4) @@ | ||
| 310 | $this->assertSame( Strings::_uchr( 8220 ), $close, "Closeing quote $close did not match quote style $style." ); |
|
| 311 | break; |
|
| 312 | ||
| 313 | case 'singleCurled': |
|
| 314 | $this->assertSame( Strings::_uchr( 8216 ), $open, "Opening quote $open did not match quote style $style." ); |
|
| 315 | $this->assertSame( Strings::_uchr( 8217 ), $close, "Closeing quote $close did not match quote style $style." ); |
|
| 316 | break; |
|
| 317 | ||
| 318 | case 'singleCurledReversed': |
|
| 319 | $this->assertSame( Strings::_uchr( 8217 ), $open, "Opening quote $open did not match quote style $style." ); |
|
| @@ 318-321 (lines=4) @@ | ||
| 315 | $this->assertSame( Strings::_uchr( 8217 ), $close, "Closeing quote $close did not match quote style $style." ); |
|
| 316 | break; |
|
| 317 | ||
| 318 | case 'singleCurledReversed': |
|
| 319 | $this->assertSame( Strings::_uchr( 8217 ), $open, "Opening quote $open did not match quote style $style." ); |
|
| 320 | $this->assertSame( Strings::_uchr( 8217 ), $close, "Closeing quote $close did not match quote style $style." ); |
|
| 321 | break; |
|
| 322 | ||
| 323 | case 'singleLow9': |
|
| 324 | $this->assertSame( Strings::_uchr( 8218 ), $open, "Opening quote $open did not match quote style $style." ); |
|
| @@ 323-326 (lines=4) @@ | ||
| 320 | $this->assertSame( Strings::_uchr( 8217 ), $close, "Closeing quote $close did not match quote style $style." ); |
|
| 321 | break; |
|
| 322 | ||
| 323 | case 'singleLow9': |
|
| 324 | $this->assertSame( Strings::_uchr( 8218 ), $open, "Opening quote $open did not match quote style $style." ); |
|
| 325 | $this->assertSame( Strings::_uchr( 8217 ), $close, "Closeing quote $close did not match quote style $style." ); |
|
| 326 | break; |
|
| 327 | ||
| 328 | case 'singleLow9Reversed': |
|
| 329 | $this->assertSame( Strings::_uchr( 8218 ), $open, "Opening quote $open did not match quote style $style." ); |
|
| @@ 328-331 (lines=4) @@ | ||
| 325 | $this->assertSame( Strings::_uchr( 8217 ), $close, "Closeing quote $close did not match quote style $style." ); |
|
| 326 | break; |
|
| 327 | ||
| 328 | case 'singleLow9Reversed': |
|
| 329 | $this->assertSame( Strings::_uchr( 8218 ), $open, "Opening quote $open did not match quote style $style." ); |
|
| 330 | $this->assertSame( Strings::_uchr( 8216 ), $close, "Closeing quote $close did not match quote style $style." ); |
|
| 331 | break; |
|
| 332 | ||
| 333 | case 'doubleGuillemetsFrench': |
|
| 334 | $this->assertSame( Strings::_uchr( 171 ) . Strings::_uchr( 160 ), $open, "Opening quote $open did not match quote style $style." ); |
|
| @@ 338-341 (lines=4) @@ | ||
| 335 | $this->assertSame( Strings::_uchr( 160 ) . Strings::_uchr( 187 ), $close, "Closeing quote $close did not match quote style $style." ); |
|
| 336 | break; |
|
| 337 | ||
| 338 | case 'doubleGuillemets': |
|
| 339 | $this->assertSame( Strings::_uchr( 171 ), $open, "Opening quote $open did not match quote style $style." ); |
|
| 340 | $this->assertSame( Strings::_uchr( 187 ), $close, "Closeing quote $close did not match quote style $style." ); |
|
| 341 | break; |
|
| 342 | ||
| 343 | case 'doubleGuillemetsReversed': |
|
| 344 | $this->assertSame( Strings::_uchr( 187 ), $open, "Opening quote $open did not match quote style $style." ); |
|
| @@ 343-346 (lines=4) @@ | ||
| 340 | $this->assertSame( Strings::_uchr( 187 ), $close, "Closeing quote $close did not match quote style $style." ); |
|
| 341 | break; |
|
| 342 | ||
| 343 | case 'doubleGuillemetsReversed': |
|
| 344 | $this->assertSame( Strings::_uchr( 187 ), $open, "Opening quote $open did not match quote style $style." ); |
|
| 345 | $this->assertSame( Strings::_uchr( 171 ), $close, "Closeing quote $close did not match quote style $style." ); |
|
| 346 | break; |
|
| 347 | ||
| 348 | case 'singleGuillemets': |
|
| 349 | $this->assertSame( Strings::_uchr( 8249 ), $open, "Opening quote $open did not match quote style $style." ); |
|
| @@ 348-351 (lines=4) @@ | ||
| 345 | $this->assertSame( Strings::_uchr( 171 ), $close, "Closeing quote $close did not match quote style $style." ); |
|
| 346 | break; |
|
| 347 | ||
| 348 | case 'singleGuillemets': |
|
| 349 | $this->assertSame( Strings::_uchr( 8249 ), $open, "Opening quote $open did not match quote style $style." ); |
|
| 350 | $this->assertSame( Strings::_uchr( 8250 ), $close, "Closeing quote $close did not match quote style $style." ); |
|
| 351 | break; |
|
| 352 | ||
| 353 | case 'singleGuillemetsReversed': |
|
| 354 | $this->assertSame( Strings::_uchr( 8250 ), $open, "Opening quote $open did not match quote style $style." ); |
|
| @@ 353-356 (lines=4) @@ | ||
| 350 | $this->assertSame( Strings::_uchr( 8250 ), $close, "Closeing quote $close did not match quote style $style." ); |
|
| 351 | break; |
|
| 352 | ||
| 353 | case 'singleGuillemetsReversed': |
|
| 354 | $this->assertSame( Strings::_uchr( 8250 ), $open, "Opening quote $open did not match quote style $style." ); |
|
| 355 | $this->assertSame( Strings::_uchr( 8249 ), $close, "Closeing quote $close did not match quote style $style." ); |
|
| 356 | break; |
|
| 357 | ||
| 358 | case 'cornerBrackets': |
|
| 359 | $this->assertSame( Strings::_uchr( 12300 ), $open, "Opening quote $open did not match quote style $style." ); |
|
| @@ 358-361 (lines=4) @@ | ||
| 355 | $this->assertSame( Strings::_uchr( 8249 ), $close, "Closeing quote $close did not match quote style $style." ); |
|
| 356 | break; |
|
| 357 | ||
| 358 | case 'cornerBrackets': |
|
| 359 | $this->assertSame( Strings::_uchr( 12300 ), $open, "Opening quote $open did not match quote style $style." ); |
|
| 360 | $this->assertSame( Strings::_uchr( 12301 ), $close, "Closeing quote $close did not match quote style $style." ); |
|
| 361 | break; |
|
| 362 | ||
| 363 | case 'whiteCornerBracket': |
|
| 364 | $this->assertSame( Strings::_uchr( 12302 ), $open, "Opening quote $open did not match quote style $style." ); |
|
| @@ 363-366 (lines=4) @@ | ||
| 360 | $this->assertSame( Strings::_uchr( 12301 ), $close, "Closeing quote $close did not match quote style $style." ); |
|
| 361 | break; |
|
| 362 | ||
| 363 | case 'whiteCornerBracket': |
|
| 364 | $this->assertSame( Strings::_uchr( 12302 ), $open, "Opening quote $open did not match quote style $style." ); |
|
| 365 | $this->assertSame( Strings::_uchr( 12303 ), $close, "Closeing quote $close did not match quote style $style." ); |
|
| 366 | break; |
|
| 367 | ||
| 368 | default: |
|
| 369 | $this->assertTrue( false, "Invalid quote style $style." ); |
|