Skip to content

Commit

Permalink
Merge pull request #39 from kdambekalns/fix-classes
Browse files Browse the repository at this point in the history
TASK: Fix "undefined class" warnings in comments
  • Loading branch information
kdambekalns committed Mar 24, 2017
2 parents 841ec64 + f0f91e0 commit 190697d
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 14 deletions.
3 changes: 1 addition & 2 deletions Classes/Core/Renderer/FluidFormRenderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -317,8 +317,7 @@ protected function getPartialPathAndFilename($renderableType)
*
* @param string $renderableType
* @param string $renderablePathAndFilename
* @return \Neos\FluidAdaptor\Core\Parser\ParsedTemplateInterface
* @return \Neos\FluidAdaptor\Core\Parser\ParsedTemplateInterface
* @return \TYPO3Fluid\Fluid\Core\Parser\ParsedTemplateInterface
* @throws \Neos\Form\Exception
* @internal
*/
Expand Down
2 changes: 1 addition & 1 deletion Tests/Unit/Core/Model/FormDefinitionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function invalidIdentifiers()

/**
* @test
* @expectedException Neos\Form\Exception\IdentifierNotValidException
* @expectedException \Neos\Form\Exception\IdentifierNotValidException
* @dataProvider invalidIdentifiers
*/
public function ifBogusIdentifierSetInConstructorAnExceptionIsThrown($identifier)
Expand Down
18 changes: 9 additions & 9 deletions Tests/Unit/Core/Model/PageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public function invalidIdentifiers()

/**
* @test
* @expectedException Neos\Form\Exception\IdentifierNotValidException
* @expectedException \Neos\Form\Exception\IdentifierNotValidException
* @dataProvider invalidIdentifiers
*/
public function ifBogusIdentifierSetInConstructorAnExceptionIsThrown($identifier)
Expand Down Expand Up @@ -123,7 +123,7 @@ public function getElementsRecursivelyReturnsRecursiveFormElementsInCorrectOrder

/**
* @test
* @expectedException Neos\Form\Exception\FormDefinitionConsistencyException
* @expectedException \Neos\Form\Exception\FormDefinitionConsistencyException
*/
public function aFormElementCanOnlyBeAttachedToASinglePage()
{
Expand Down Expand Up @@ -181,7 +181,7 @@ public function createElementSetsAdditionalPropertiesInElement()

/**
* @test
* @expectedException Neos\Form\Exception\FormDefinitionConsistencyException
* @expectedException \Neos\Form\Exception\FormDefinitionConsistencyException
*/
public function createElementThrowsExceptionIfPageIsNotAttachedToParentForm()
{
Expand All @@ -191,7 +191,7 @@ public function createElementThrowsExceptionIfPageIsNotAttachedToParentForm()

/**
* @test
* @expectedException Neos\Form\Exception\TypeDefinitionNotFoundException
* @expectedException \Neos\Form\Exception\TypeDefinitionNotFoundException
*/
public function createElementThrowsExceptionIfImplementationClassNameNotFound()
{
Expand All @@ -202,7 +202,7 @@ public function createElementThrowsExceptionIfImplementationClassNameNotFound()

/**
* @test
* @expectedException Neos\Form\Exception\TypeDefinitionNotValidException
* @expectedException \Neos\Form\Exception\TypeDefinitionNotValidException
*/
public function createElementThrowsExceptionIfImplementationClassNameDoesNotImplementFormElementInterface()
{
Expand All @@ -213,7 +213,7 @@ public function createElementThrowsExceptionIfImplementationClassNameDoesNotImpl

/**
* @test
* @expectedException Neos\Form\Exception\TypeDefinitionNotValidException
* @expectedException \Neos\Form\Exception\TypeDefinitionNotValidException
*/
public function createElementThrowsExceptionIfUnknownPropertyFoundInTypeDefinition()
{
Expand All @@ -239,7 +239,7 @@ public function moveElementBeforeMovesElementBeforeReferenceElement()

/**
* @test
* @expectedException Neos\Form\Exception\FormDefinitionConsistencyException
* @expectedException \Neos\Form\Exception\FormDefinitionConsistencyException
*/
public function moveElementBeforeThrowsExceptionIfElementsAreNotOnSamePage()
{
Expand Down Expand Up @@ -270,7 +270,7 @@ public function moveElementAfterMovesElementAfterReferenceElement()

/**
* @test
* @expectedException Neos\Form\Exception\FormDefinitionConsistencyException
* @expectedException \Neos\Form\Exception\FormDefinitionConsistencyException
*/
public function moveElementAfterThrowsExceptionIfElementsAreNotOnSamePage()
{
Expand Down Expand Up @@ -303,7 +303,7 @@ public function removeElementRemovesElementFromCurrentPageAndUnregistersItFromFo

/**
* @test
* @expectedException Neos\Form\Exception\FormDefinitionConsistencyException
* @expectedException \Neos\Form\Exception\FormDefinitionConsistencyException
*/
public function removeElementThrowsExceptionIfElementIsNotOnCurrentPage()
{
Expand Down
2 changes: 1 addition & 1 deletion Tests/Unit/Factory/AbstractFormFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public function getPresetConfigurationReturnsCorrectConfigurationForPresets($pre

/**
* @test
* @expectedException Neos\Form\Exception\PresetNotFoundException
* @expectedException \Neos\Form\Exception\PresetNotFoundException
*/
public function getPresetConfigurationThrowsExceptionIfPresetIsNotFound()
{
Expand Down
2 changes: 1 addition & 1 deletion Tests/Unit/Utility/SupertypeResolverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public function getMergedTypeDefinitionWorks($types, $typeName, $expected)

/**
* @test
* @expectedException Neos\Form\Exception\TypeDefinitionNotFoundException
* @expectedException \Neos\Form\Exception\TypeDefinitionNotFoundException
*/
public function getMergedTypeDefinitionThrowsExceptionIfTypeNotFound()
{
Expand Down

0 comments on commit 190697d

Please sign in to comment.