Skip to content

Commit

Permalink
Remove file docblocks
Browse files Browse the repository at this point in the history
They serve no purpose; we have the class docblocks
  • Loading branch information
cweiske committed Jul 20, 2024
1 parent 155cf24 commit 7d6aacd
Show file tree
Hide file tree
Showing 17 changed files with 3 additions and 179 deletions.
4 changes: 3 additions & 1 deletion phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="phpcs.xsd">

<rule ref="PEAR"/>
<rule ref="PEAR">
<exclude name="PEAR.Commenting.FileComment.Missing"/>
</rule>
<rule ref="Generic.Files.LineLength">
<properties>
<property name="lineLimit" value="100"/>
Expand Down
12 changes: 0 additions & 12 deletions src/JsonMapper.php
Original file line number Diff line number Diff line change
@@ -1,16 +1,4 @@
<?php
/**
* Part of JsonMapper
*
* PHP version 5
*
* @category Netresearch
* @package JsonMapper
* @author Christian Weiske <[email protected]>
* @license OSL-3.0 http://opensource.org/licenses/osl-3.0
* @link http://cweiske.de/
*/

/**
* Automatically map JSON structures into objects.
*
Expand Down
12 changes: 0 additions & 12 deletions src/JsonMapper/Exception.php
Original file line number Diff line number Diff line change
@@ -1,16 +1,4 @@
<?php
/**
* Part of JsonMapper
*
* PHP version 5
*
* @category Netresearch
* @package JsonMapper
* @author Christian Weiske <[email protected]>
* @license OSL-3.0 http://opensource.org/licenses/osl-3.0
* @link http://cweiske.de/
*/

/**
* Simple exception
*
Expand Down
12 changes: 0 additions & 12 deletions tests/ArrayTest.php
Original file line number Diff line number Diff line change
@@ -1,16 +1,4 @@
<?php
/**
* Part of JsonMapper
*
* PHP version 5
*
* @category Tools
* @package JsonMapper
* @author Christian Weiske <[email protected]>
* @license OSL-3.0 http://opensource.org/licenses/osl-3.0
* @link https://github.com/cweiske/jsonmapper
*/

use namespacetest\model\MyArrayObject;

/**
Expand Down
12 changes: 0 additions & 12 deletions tests/ClassMapTest.php
Original file line number Diff line number Diff line change
@@ -1,16 +1,4 @@
<?php
/**
* Part of JsonMapper
*
* PHP version 5
*
* @category Tools
* @package JsonMapper
* @author Christian Weiske <[email protected]>
* @license OSL-3.0 http://opensource.org/licenses/osl-3.0
* @link https://github.com/cweiske/jsonmapper
*/

/**
* Unit tests for JsonMapper's classMap
*
Expand Down
12 changes: 0 additions & 12 deletions tests/EventTest.php
Original file line number Diff line number Diff line change
@@ -1,16 +1,4 @@
<?php
/**
* Part of JsonMapper
*
* PHP version 5
*
* @category Tools
* @package JsonMapper
* @author Christian Weiske <[email protected]>
* @license OSL-3.0 http://opensource.org/licenses/osl-3.0
* @link https://github.com/cweiske/jsonmapper
*/

use PHPUnit\Framework\TestCase;

/**
Expand Down
12 changes: 0 additions & 12 deletions tests/ObjectTest.php
Original file line number Diff line number Diff line change
@@ -1,16 +1,4 @@
<?php
/**
* Part of JsonMapper
*
* PHP version 5
*
* @category Tools
* @package JsonMapper
* @author Christian Weiske <[email protected]>
* @license OSL-3.0 http://opensource.org/licenses/osl-3.0
* @link https://github.com/cweiske/jsonmapper
*/

/**
* Unit tests for JsonMapper's object handling
*
Expand Down
11 changes: 0 additions & 11 deletions tests/OtherTest.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,4 @@
<?php
/**
* Part of JsonMapper
*
* PHP version 5
*
* @package JsonMapper
* @author Christian Weiske <[email protected]>
* @license OSL-3.0 http://opensource.org/licenses/osl-3.0
* @link http://cweiske.de/
*/

/**
* Unit tests for JsonMapper that don't fit in other categories
*
Expand Down
11 changes: 0 additions & 11 deletions tests/RemoveUndefinedAttributesTest.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,4 @@
<?php
/**
* Part of JsonMapper
*
* PHP version 5
*
* @package JsonMapper
* @author Christian Weiske <[email protected]>
* @license OSL-3.0 http://opensource.org/licenses/osl-3.0
* @link http://cweiske.de/
*/

/**
* Unit tests for JsonMapper option "bRemoveUndefinedAttributes".
*
Expand Down
12 changes: 0 additions & 12 deletions tests/SimpleTest.php
Original file line number Diff line number Diff line change
@@ -1,16 +1,4 @@
<?php
/**
* Part of JsonMapper
*
* PHP version 5
*
* @category Tools
* @package JsonMapper
* @author Christian Weiske <[email protected]>
* @license OSL-3.0 http://opensource.org/licenses/osl-3.0
* @link https://github.com/cweiske/jsonmapper
*/

/**
* Unit tests for JsonMapper's simple type handling
*
Expand Down
11 changes: 0 additions & 11 deletions tests/support/JsonMapperTest/Array.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,4 @@
<?php
/**
* Part of JsonMapper
*
* PHP version 5
*
* @package JsonMapper
* @author Christian Weiske <[email protected]>
* @license OSL-3.0 http://opensource.org/licenses/osl-3.0
* @link http://cweiske.de/
*/

/**
* Unit test helper class for testing property mapping
*
Expand Down
11 changes: 0 additions & 11 deletions tests/support/JsonMapperTest/ArrayValueForStringProperty.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,4 @@
<?php
/**
* Part of JsonMapper
*
* PHP version 5
*
* @package JsonMapper
* @author Christian Weiske <[email protected]>
* @license OSL-3.0 http://opensource.org/licenses/osl-3.0
* @link http://cweiske.de/
*/

class JsonMapperTest_ArrayValueForStringProperty
{
public string $value;
Expand Down
11 changes: 0 additions & 11 deletions tests/support/JsonMapperTest/Broken.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,4 @@
<?php
/**
* Part of JsonMapper
*
* PHP version 5
*
* @package JsonMapper
* @author Christian Weiske <[email protected]>
* @license OSL-3.0 http://opensource.org/licenses/osl-3.0
* @link http://cweiske.de/
*/

/**
* Unit test helper class for testing property mapping
*
Expand Down
7 changes: 0 additions & 7 deletions tests/support/JsonMapperTest/ComplexObject.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
<?php
/**
* Created by PhpStorm.
* User: jaredchu
* Date: 11/08/2017
* Time: 16:39
*/

class JsonMapperTest_ComplexObject
{
/**
Expand Down
11 changes: 0 additions & 11 deletions tests/support/JsonMapperTest/Logger.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,4 @@
<?php
/**
* Part of JsonMapper
*
* PHP version 5
*
* @package JsonMapper
* @author Christian Weiske <[email protected]>
* @license OSL-3.0 http://opensource.org/licenses/osl-3.0
* @link http://cweiske.de/
*/

/**
* Simple in-memory logger
*
Expand Down
11 changes: 0 additions & 11 deletions tests/support/JsonMapperTest/Simple.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,4 @@
<?php
/**
* Part of JsonMapper
*
* PHP version 5
*
* @package JsonMapper
* @author Christian Weiske <[email protected]>
* @license OSL-3.0 http://opensource.org/licenses/osl-3.0
* @link http://cweiske.de/
*/

/**
* Unit test helper class for testing property mapping
*
Expand Down
10 changes: 0 additions & 10 deletions tests/support/JsonMapperTest/VariadicArray.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,4 @@
<?php
/**
* Part of JsonMapper
*
* PHP version 5
*
* @package JsonMapper
* @author Christian Weiske <[email protected]>
* @license OSL-3.0 http://opensource.org/licenses/osl-3.0
* @link http://cweiske.de/
*/

/**
* Unit test helper class for testing property mapping
Expand Down

0 comments on commit 7d6aacd

Please sign in to comment.