Progi1984
f085c85339
Writer ODS : Writer Border Style for cells ( #3693 )
...
* Writer ODS : Write Border Style for cells
* Writer ODS : Write Border Style for cells (Replaced protected by private && Added Unit Test)
---------
2023-09-14 06:29:04 -07:00
Adrien Crivelli
80b4ae2bbd
Rector TypedPropertyFromStrictSetUpRector
2023-09-12 10:48:13 +08:00
Adrien Crivelli
ec4098c8fd
Strict mode for all tests
...
While we might never be able to have 100% of our code strict, we can at
the very least do it for all of our tests. This ensures that our tests
are using our API with the types as intended by the test author, and not
silently be cast to what our API requires.
2023-09-07 17:44:56 +08:00
MarkBaker
2e5ebea110
Add support for writing Worksheet Visibility for Ods
2022-05-23 13:38:08 +02:00
Adrien Crivelli
49f87de165
Reduce PHPStan error in tests
2021-04-12 11:10:23 +09:00
Alexander Gunkel
fdc8e8d17a
Fix/1674 ( #1688 )
...
* Treat inline strings like strings in Open Document because it has no specific inline-string format
* implement data-type error
Co-authored-by: Mark Baker <mark@lange.demon.co.uk >
2021-01-31 18:26:50 +01:00
Adrien Crivelli
fcd9f10663
Update PHP-CS-Fixer rules
2020-05-18 13:49:57 +09:00
Adrien Crivelli
e868e58d20
Allow to run an entire folder of tests
...
We now can do something like:
```sh
./vendor/bin/phpunit tests/PhpSpreadsheetTests/Reader/
```
2020-05-17 18:35:55 +09:00
Adrien Crivelli
f1a019e492
Upgrad PHP deps
2020-04-27 19:29:45 +09:00
Gabriel Caruso
aed27a0bed
Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase ( #271 )
...
Use the `PHPUnit\Framework\TestCase` notation instead of `PHPUnit_Framework_TestCase` while extending our TestCases. This will help us migrate to PHPUnit 6, that [no longer support snake case class names](https://github.com/sebastianbergmann/phpunit/blob/master/ChangeLog-6.0.md#changed-1 ).
2017-11-09 00:48:01 +09:00
Adrien Crivelli
aef4d711f5
Use self::assert*() instead of $this->assert*()
...
Because even if it doesn't make a difference in practice, it is
technically more correct to call static methods statically. It
also better advertise that those methods can be used from any context.
2017-09-22 14:22:44 +09:00
Zharikov Viktor
07455d24f6
Make global usage of use instead of FQCN
...
Closes #78
Closes #147
2017-05-18 00:10:16 +02:00
Adrien Crivelli
75d3bdb016
Declare arguments as required when they are
...
Closes #110
2017-04-16 14:25:28 +09:00
Adrien Crivelli
93e2204774
Document ODS supported features
...
This should be completed in the future.
2017-03-06 14:40:27 +09:00
Paolo Agostinetto
219e4e6258
Writer\Ods\Content: Set "CompatibilityMode" before and after running the tests in
...
order to avoid conflicts with other tests
2017-03-04 17:18:18 +01:00
Paolo Agostinetto
93b5337bda
Writer\Ods\Content: Fix CS
2017-03-04 17:18:18 +01:00
Paolo Agostinetto
4efda2a512
Ods\Writer\Content: added support for xr styles (bold, italic, font family, font size, underline, bg color)
2017-03-04 17:18:18 +01:00
Paolo Agostinetto
5620510991
Writer\Ods\Content: basic unit tests
2017-03-04 17:18:18 +01:00