Skip to content

Commit 0bf7eea

Browse files
authored
Merge pull request tgalopin#7 from tgalopin/add-bc-promise
Add Backward Compatibility promise
2 parents 4b19eac + ff916c8 commit 0bf7eea

File tree

109 files changed

+225
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+225
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions

src/DomVisitor.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818

1919
/**
2020
* @author Titouan Galopin <galopintitouan@gmail.com>
21+
*
22+
* @final
2123
*/
2224
class DomVisitor implements DomVisitorInterface
2325
{

src/Extension/Basic/BasicExtension.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515

1616
/**
1717
* @author Titouan Galopin <galopintitouan@gmail.com>
18+
*
19+
* @final
1820
*/
1921
class BasicExtension implements ExtensionInterface
2022
{

src/Extension/Basic/Node/ANode.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
/**
1818
* @author Titouan Galopin <galopintitouan@gmail.com>
19+
*
20+
* @final
1921
*/
2022
class ANode extends AbstractTagNode
2123
{

src/Extension/Basic/Node/BlockquoteNode.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
/**
1818
* @author Titouan Galopin <galopintitouan@gmail.com>
19+
*
20+
* @final
1921
*/
2022
class BlockquoteNode extends AbstractTagNode
2123
{

src/Extension/Basic/Node/BrNode.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
/**
1818
* @author Titouan Galopin <galopintitouan@gmail.com>
19+
*
20+
* @final
1921
*/
2022
class BrNode extends AbstractTagNode
2123
{

src/Extension/Basic/Node/DelNode.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
/**
1818
* @author Titouan Galopin <galopintitouan@gmail.com>
19+
*
20+
* @final
1921
*/
2022
class DelNode extends AbstractTagNode
2123
{

src/Extension/Basic/Node/DivNode.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
/**
1818
* @author Titouan Galopin <galopintitouan@gmail.com>
19+
*
20+
* @final
1921
*/
2022
class DivNode extends AbstractTagNode
2123
{

src/Extension/Basic/Node/EmNode.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
/**
1818
* @author Titouan Galopin <galopintitouan@gmail.com>
19+
*
20+
* @final
1921
*/
2022
class EmNode extends AbstractTagNode
2123
{

src/Extension/Basic/Node/FigcaptionNode.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
/**
1818
* @author Titouan Galopin <galopintitouan@gmail.com>
19+
*
20+
* @final
1921
*/
2022
class FigcaptionNode extends AbstractTagNode
2123
{

src/Extension/Basic/Node/FigureNode.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
/**
1818
* @author Titouan Galopin <galopintitouan@gmail.com>
19+
*
20+
* @final
1921
*/
2022
class FigureNode extends AbstractTagNode
2123
{

src/Extension/Basic/Node/H1Node.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
/**
1818
* @author Titouan Galopin <galopintitouan@gmail.com>
19+
*
20+
* @final
1921
*/
2022
class H1Node extends AbstractTagNode
2123
{

src/Extension/Basic/Node/H2Node.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
/**
1818
* @author Titouan Galopin <galopintitouan@gmail.com>
19+
*
20+
* @final
1921
*/
2022
class H2Node extends AbstractTagNode
2123
{

src/Extension/Basic/Node/H3Node.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
/**
1818
* @author Titouan Galopin <galopintitouan@gmail.com>
19+
*
20+
* @final
1921
*/
2022
class H3Node extends AbstractTagNode
2123
{

src/Extension/Basic/Node/H4Node.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
/**
1818
* @author Titouan Galopin <galopintitouan@gmail.com>
19+
*
20+
* @final
1921
*/
2022
class H4Node extends AbstractTagNode
2123
{

src/Extension/Basic/Node/H5Node.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
/**
1818
* @author Titouan Galopin <galopintitouan@gmail.com>
19+
*
20+
* @final
1921
*/
2022
class H5Node extends AbstractTagNode
2123
{

src/Extension/Basic/Node/H6Node.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
/**
1818
* @author Titouan Galopin <galopintitouan@gmail.com>
19+
*
20+
* @final
1921
*/
2022
class H6Node extends AbstractTagNode
2123
{

src/Extension/Basic/Node/INode.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
/**
1818
* @author Titouan Galopin <galopintitouan@gmail.com>
19+
*
20+
* @final
1921
*/
2022
class INode extends AbstractTagNode
2123
{

src/Extension/Basic/Node/PNode.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
/**
1818
* @author Titouan Galopin <galopintitouan@gmail.com>
19+
*
20+
* @final
1921
*/
2022
class PNode extends AbstractTagNode
2123
{

src/Extension/Basic/Node/QNode.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
/**
1818
* @author Titouan Galopin <galopintitouan@gmail.com>
19+
*
20+
* @final
1921
*/
2022
class QNode extends AbstractTagNode
2123
{

src/Extension/Basic/Node/SmallNode.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
/**
1818
* @author Titouan Galopin <galopintitouan@gmail.com>
19+
*
20+
* @final
1921
*/
2022
class SmallNode extends AbstractTagNode
2123
{

src/Extension/Basic/Node/SpanNode.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
/**
1818
* @author Titouan Galopin <galopintitouan@gmail.com>
19+
*
20+
* @final
1921
*/
2022
class SpanNode extends AbstractTagNode
2123
{

src/Extension/Basic/Node/StrongNode.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
/**
1818
* @author Titouan Galopin <galopintitouan@gmail.com>
19+
*
20+
* @final
1921
*/
2022
class StrongNode extends AbstractTagNode
2123
{

src/Extension/Basic/Node/SubNode.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
/**
1818
* @author Titouan Galopin <galopintitouan@gmail.com>
19+
*
20+
* @final
1921
*/
2022
class SubNode extends AbstractTagNode
2123
{

src/Extension/Basic/Node/SupNode.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
/**
1818
* @author Titouan Galopin <galopintitouan@gmail.com>
19+
*
20+
* @final
1921
*/
2022
class SupNode extends AbstractTagNode
2123
{

src/Extension/Basic/NodeVisitor/ANodeVisitor.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020

2121
/**
2222
* @author Titouan Galopin <galopintitouan@gmail.com>
23+
*
24+
* @final
2325
*/
2426
class ANodeVisitor extends AbstractNodeVisitor
2527
{

src/Extension/Basic/NodeVisitor/BlockquoteNodeVisitor.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919

2020
/**
2121
* @author Titouan Galopin <galopintitouan@gmail.com>
22+
*
23+
* @final
2224
*/
2325
class BlockquoteNodeVisitor extends AbstractNodeVisitor
2426
{

src/Extension/Basic/NodeVisitor/BrNodeVisitor.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919

2020
/**
2121
* @author Titouan Galopin <galopintitouan@gmail.com>
22+
*
23+
* @final
2224
*/
2325
class BrNodeVisitor extends AbstractNodeVisitor
2426
{

src/Extension/Basic/NodeVisitor/DelNodeVisitor.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919

2020
/**
2121
* @author Titouan Galopin <galopintitouan@gmail.com>
22+
*
23+
* @final
2224
*/
2325
class DelNodeVisitor extends AbstractNodeVisitor
2426
{

src/Extension/Basic/NodeVisitor/DivNodeVisitor.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919

2020
/**
2121
* @author Titouan Galopin <galopintitouan@gmail.com>
22+
*
23+
* @final
2224
*/
2325
class DivNodeVisitor extends AbstractNodeVisitor
2426
{

src/Extension/Basic/NodeVisitor/EmNodeVisitor.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919

2020
/**
2121
* @author Titouan Galopin <galopintitouan@gmail.com>
22+
*
23+
* @final
2224
*/
2325
class EmNodeVisitor extends AbstractNodeVisitor
2426
{

src/Extension/Basic/NodeVisitor/FigcaptionNodeVisitor.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919

2020
/**
2121
* @author Titouan Galopin <galopintitouan@gmail.com>
22+
*
23+
* @final
2224
*/
2325
class FigcaptionNodeVisitor extends AbstractNodeVisitor
2426
{

src/Extension/Basic/NodeVisitor/FigureNodeVisitor.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919

2020
/**
2121
* @author Titouan Galopin <galopintitouan@gmail.com>
22+
*
23+
* @final
2224
*/
2325
class FigureNodeVisitor extends AbstractNodeVisitor
2426
{

src/Extension/Basic/NodeVisitor/H1NodeVisitor.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919

2020
/**
2121
* @author Titouan Galopin <galopintitouan@gmail.com>
22+
*
23+
* @final
2224
*/
2325
class H1NodeVisitor extends AbstractNodeVisitor
2426
{

src/Extension/Basic/NodeVisitor/H2NodeVisitor.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919

2020
/**
2121
* @author Titouan Galopin <galopintitouan@gmail.com>
22+
*
23+
* @final
2224
*/
2325
class H2NodeVisitor extends AbstractNodeVisitor
2426
{

src/Extension/Basic/NodeVisitor/H3NodeVisitor.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919

2020
/**
2121
* @author Titouan Galopin <galopintitouan@gmail.com>
22+
*
23+
* @final
2224
*/
2325
class H3NodeVisitor extends AbstractNodeVisitor
2426
{

src/Extension/Basic/NodeVisitor/H4NodeVisitor.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919

2020
/**
2121
* @author Titouan Galopin <galopintitouan@gmail.com>
22+
*
23+
* @final
2224
*/
2325
class H4NodeVisitor extends AbstractNodeVisitor
2426
{

src/Extension/Basic/NodeVisitor/H5NodeVisitor.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919

2020
/**
2121
* @author Titouan Galopin <galopintitouan@gmail.com>
22+
*
23+
* @final
2224
*/
2325
class H5NodeVisitor extends AbstractNodeVisitor
2426
{

src/Extension/Basic/NodeVisitor/H6NodeVisitor.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919

2020
/**
2121
* @author Titouan Galopin <galopintitouan@gmail.com>
22+
*
23+
* @final
2224
*/
2325
class H6NodeVisitor extends AbstractNodeVisitor
2426
{

src/Extension/Basic/NodeVisitor/INodeVisitor.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919

2020
/**
2121
* @author Titouan Galopin <galopintitouan@gmail.com>
22+
*
23+
* @final
2224
*/
2325
class INodeVisitor extends AbstractNodeVisitor
2426
{

src/Extension/Basic/NodeVisitor/PNodeVisitor.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919

2020
/**
2121
* @author Titouan Galopin <galopintitouan@gmail.com>
22+
*
23+
* @final
2224
*/
2325
class PNodeVisitor extends AbstractNodeVisitor
2426
{

src/Extension/Basic/NodeVisitor/QNodeVisitor.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919

2020
/**
2121
* @author Titouan Galopin <galopintitouan@gmail.com>
22+
*
23+
* @final
2224
*/
2325
class QNodeVisitor extends AbstractNodeVisitor
2426
{

src/Extension/Basic/NodeVisitor/SmallNodeVisitor.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919

2020
/**
2121
* @author Titouan Galopin <galopintitouan@gmail.com>
22+
*
23+
* @final
2224
*/
2325
class SmallNodeVisitor extends AbstractNodeVisitor
2426
{

0 commit comments

Comments
 (0)