Searched refs:modifier (Results 1 – 10 of 10) sorted by relevance
14 public function testModifiers($modifier): void { argument16 'type' => constant(Modifiers::class . '::' . strtoupper($modifier))19 $this->assertTrue($node->{'is' . $modifier}());50 * @param string $modifier Node type modifier52 public function testImplicitPublic(string $modifier): void { argument54 'type' => constant(Modifiers::class . '::' . strtoupper($modifier))
11 public function testModifiers($modifier): void { argument14 constant(Modifiers::class . '::' . strtoupper($modifier))17 $this->assertTrue($node->{'is' . $modifier}());
11 public function testModifiers($modifier): void { argument13 constant(Modifiers::class . '::' . strtoupper($modifier)),17 $this->assertTrue($node->{'is' . $modifier}());
19 protected ?int $modifier = null; variable in PhpParser\\Builder\\TraitUseAdaptation114 protected function setModifier(int $modifier): void { argument123 if (is_null($this->modifier)) {124 $this->modifier = $modifier;138 …turn new Stmt\TraitUseAdaptation\Alias($this->trait, $this->method, $this->modifier, $this->alias);
22 public function testModifiers(string $modifier): void { argument24 $node->flags = constant(Modifiers::class . '::' . strtoupper($modifier));26 $this->assertTrue($node->{'is' . $modifier}());
8 Cannot use 'static' as constant modifier from 3:5 to 3:1046 Cannot use 'abstract' as constant modifier from 3:5 to 3:1284 Cannot use 'readonly' as constant modifier from 3:5 to 3:12
1 Invalid modifier combination202 Cannot use the final modifier on an abstract class member from 1:26 to 1:30234 Cannot use the final modifier on an abstract class from 1:16 to 1:20
316 * @param int $modifier Modifier to set320 public static function addModifier(int $modifiers, int $modifier): int { argument321 Modifiers::verifyModifier($modifiers, $modifier);322 return $modifiers | $modifier;
66 * The `ClassConst::isStatic()` method has been removed. Constants cannot have a static modifier.
762 * The `ClassConst::isStatic()` method has been removed. Constants cannot have a static modifier.1000 holding the visibility modifier, as well as `isPublic()`, `isProtected()` and `isPrivate()`
Completed in 26 milliseconds