Skip to content

Commit

Permalink
Merge pull request #4 from Borbina/main
Browse files Browse the repository at this point in the history
strict types
  • Loading branch information
Vitexus authored May 21, 2021
2 parents 40954ff + 7dc0f72 commit 6a541b3
Show file tree
Hide file tree
Showing 219 changed files with 254 additions and 51 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
sudo apt-get install -y composer exim4
composer update
- name: Run tests
run: vendor/bin/phpunit --bootstrap tests/Bootstrap.php --configuration phpunit.xml tests/src/
run: vendor/bin/phpunit --bootstrap tests/Bootstrap.php --configuration phpunit.xml tests/src/
1 change: 1 addition & 0 deletions Examples/Basic.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

use Ease\Html\ArticleTag as Article;
use Ease\Html\ATag;
Expand Down
1 change: 1 addition & 0 deletions Examples/form.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);
/**
* EaseFramework - HTML5 Input widgets Example
*
Expand Down
1 change: 1 addition & 0 deletions Examples/table.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

/**
* EaseFramework - HTML5 Table Example
Expand Down
1 change: 1 addition & 0 deletions Examples/webpage.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);
/**
* EaseFramework - HTML5 Webpage Example
*
Expand Down
1 change: 1 addition & 0 deletions Examples/webpageClass.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);
/**
* EaseFramework - HTML5 Webpage Example
*
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,3 +217,4 @@ sudo wget -O /etc/apt/trusted.gpg.d/vitexsoftware.gpg http://repo.vitexsoftware.
sudo apt update
sudo apt install php-vitexsoftware-ease-html
```

1 change: 1 addition & 0 deletions debian/test/Bootstrap.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);
/**
* Zaváděcí soubor pro provádění PHPUnit testů na EaseFrameworkem.
*
Expand Down
1 change: 1 addition & 0 deletions src/Ease/Container.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

/**
* Object able to contain other object in int.
Expand Down
1 change: 1 addition & 0 deletions src/Ease/Document.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

/**
* Simple html page class.
Expand Down
6 changes: 1 addition & 5 deletions src/Ease/Embedable.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
<?php
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
declare (strict_types=1);

namespace Ease;

Expand Down
1 change: 1 addition & 0 deletions src/Ease/Glue.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

/*
* To change this license header, choose License Headers in Project Properties.
Expand Down
1 change: 1 addition & 0 deletions src/Ease/Html/ATag.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

namespace Ease\Html;

Expand Down
1 change: 1 addition & 0 deletions src/Ease/Html/AddressTag.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

namespace Ease\Html;

Expand Down
1 change: 1 addition & 0 deletions src/Ease/Html/ArticleTag.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

namespace Ease\Html;

Expand Down
1 change: 1 addition & 0 deletions src/Ease/Html/AsideTag.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

namespace Ease\Html;

Expand Down
1 change: 1 addition & 0 deletions src/Ease/Html/AudioTag.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

namespace Ease\Html;

Expand Down
1 change: 1 addition & 0 deletions src/Ease/Html/BdiTag.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

namespace Ease\Html;

Expand Down
1 change: 1 addition & 0 deletions src/Ease/Html/BodyTag.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

namespace Ease\Html;

Expand Down
1 change: 1 addition & 0 deletions src/Ease/Html/ButtonTag.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

namespace Ease\Html;

Expand Down
1 change: 1 addition & 0 deletions src/Ease/Html/CanvasTag.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

namespace Ease\Html;

Expand Down
1 change: 1 addition & 0 deletions src/Ease/Html/CheckboxTag.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

namespace Ease\Html;

Expand Down
6 changes: 1 addition & 5 deletions src/Ease/Html/Comment.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
<?php
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
declare (strict_types=1);

namespace Ease\Html;

Expand Down
1 change: 1 addition & 0 deletions src/Ease/Html/DatalistTag.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

namespace Ease\Html;

Expand Down
1 change: 1 addition & 0 deletions src/Ease/Html/DdTag.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

namespace Ease\Html;

Expand Down
1 change: 1 addition & 0 deletions src/Ease/Html/DetailsTag.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

namespace Ease\Html;

Expand Down
1 change: 1 addition & 0 deletions src/Ease/Html/DialogTag.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

namespace Ease\Html;

Expand Down
1 change: 1 addition & 0 deletions src/Ease/Html/DivTag.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

namespace Ease\Html;

Expand Down
1 change: 1 addition & 0 deletions src/Ease/Html/DlTag.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

namespace Ease\Html;

Expand Down
1 change: 1 addition & 0 deletions src/Ease/Html/DtTag.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

namespace Ease\Html;

Expand Down
1 change: 1 addition & 0 deletions src/Ease/Html/EmTag.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

namespace Ease\Html;

Expand Down
1 change: 1 addition & 0 deletions src/Ease/Html/EmbedTag.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

namespace Ease\Html;

Expand Down
1 change: 1 addition & 0 deletions src/Ease/Html/FieldSet.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

namespace Ease\Html;

Expand Down
1 change: 1 addition & 0 deletions src/Ease/Html/FigCaptionTag.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

namespace Ease\Html;

Expand Down
1 change: 1 addition & 0 deletions src/Ease/Html/FigureTag.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

namespace Ease\Html;

Expand Down
1 change: 1 addition & 0 deletions src/Ease/Html/FooterTag.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

namespace Ease\Html;

Expand Down
1 change: 1 addition & 0 deletions src/Ease/Html/Form.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);
/**
* Html form able to be recursive filled
* Html formulář se schopností rekurzivne naplnit hodnotami vložené prvky.
Expand Down
2 changes: 1 addition & 1 deletion src/Ease/Html/H1Tag.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php

declare (strict_types=1);
namespace Ease\Html;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Ease/Html/H2Tag.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php

declare (strict_types=1);
namespace Ease\Html;

/**
Expand Down
3 changes: 1 addition & 2 deletions src/Ease/Html/H3Tag.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?php

declare (strict_types=1);
namespace Ease\Html;

/**
* HTML H3 tag.
*
Expand Down
2 changes: 1 addition & 1 deletion src/Ease/Html/H4Tag.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php

declare (strict_types=1);
namespace Ease\Html;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Ease/Html/H5Tag.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php

declare (strict_types=1);
namespace Ease\Html;

/**
Expand Down
1 change: 1 addition & 0 deletions src/Ease/Html/HeadTag.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

namespace Ease\Html;

Expand Down
1 change: 1 addition & 0 deletions src/Ease/Html/HeaderTag.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

namespace Ease\Html;

Expand Down
1 change: 1 addition & 0 deletions src/Ease/Html/HrTag.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

namespace Ease\Html;

Expand Down
1 change: 1 addition & 0 deletions src/Ease/Html/HtmlTag.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

namespace Ease\Html;

Expand Down
1 change: 1 addition & 0 deletions src/Ease/Html/IframeTag.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

namespace Ease\Html;

Expand Down
1 change: 1 addition & 0 deletions src/Ease/Html/ImgTag.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

namespace Ease\Html;

Expand Down
1 change: 1 addition & 0 deletions src/Ease/Html/InputColorTag.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

namespace Ease\Html;

Expand Down
1 change: 1 addition & 0 deletions src/Ease/Html/InputDateTag.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

namespace Ease\Html;

Expand Down
1 change: 1 addition & 0 deletions src/Ease/Html/InputDateTimeLocalTag.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

namespace Ease\Html;

Expand Down
1 change: 1 addition & 0 deletions src/Ease/Html/InputDateTimeTag.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

namespace Ease\Html;

Expand Down
1 change: 1 addition & 0 deletions src/Ease/Html/InputEmailTag.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

namespace Ease\Html;

Expand Down
1 change: 1 addition & 0 deletions src/Ease/Html/InputFileTag.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

namespace Ease\Html;

Expand Down
1 change: 1 addition & 0 deletions src/Ease/Html/InputHiddenTag.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

namespace Ease\Html;

Expand Down
1 change: 1 addition & 0 deletions src/Ease/Html/InputMonthTag.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

namespace Ease\Html;

Expand Down
1 change: 1 addition & 0 deletions src/Ease/Html/InputNumberTag.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

namespace Ease\Html;

Expand Down
1 change: 1 addition & 0 deletions src/Ease/Html/InputPasswordTag.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

namespace Ease\Html;

Expand Down
1 change: 1 addition & 0 deletions src/Ease/Html/InputRadioTag.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

namespace Ease\Html;

Expand Down
1 change: 1 addition & 0 deletions src/Ease/Html/InputRangeTag.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

namespace Ease\Html;

Expand Down
1 change: 1 addition & 0 deletions src/Ease/Html/InputSearchTag.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

namespace Ease\Html;

Expand Down
1 change: 1 addition & 0 deletions src/Ease/Html/InputSubmitTag.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

namespace Ease\Html;

Expand Down
1 change: 1 addition & 0 deletions src/Ease/Html/InputTag.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare (strict_types=1);

namespace Ease\Html;

Expand Down
Loading

0 comments on commit 6a541b3

Please sign in to comment.