Commit Graph
15 Commits
Author SHA1 Message Date
Belle Aerni 50043e6211 Run Rector against our tests (#1761)
* Update rector config to include tests

* Run Rector against the tests

* Delete test-results

* Update .gitignore

* Correctly set the PHP min to 8.1, split the configs

* Corrected PHPDoc

* Deleted tests we can't really get to pass

PHPunit is hard-coded to fail when a class has a return type of `never`, which is the correct return type of our redirect function (and rightfully so).

No way to disable the exception as far as we can tell
2023-11-11 18:41:09 +00:00
YağızhanandBelle Aerni dbcf9a3ad4 Rewritten bin/prepare & +FOSSBilling_Environment (#1622)
* Rewritten bin/prepare & +FOSSBilling_Environment

* -redundancy

* - unnecessary bits

* nothing much

* Fix inverted logic, use new function in missed location

---------

Co-authored-by: Belle Aerni <belleaerni@gmail.com>
2023-09-22 18:19:02 -07:00
Belle Aerni 25a0090c5d Bump AntLoader to v2.0.0 (#1280) 2023-05-30 12:26:24 +03:00
Belle Aerni 048fd6bc6a Replace composer's dev autoloader with AntLoader (#1228)
* Replace composer's dev autoloader with AntLoader

This way, people don't need to specifically remember to remove dev deps before uploading to a server.

* Move to the tests bootstrap file
2023-05-09 23:32:32 +01:00
Adam Daley e3967dfe96 Move composer files to project root (#1191) 2023-04-30 07:17:06 +01:00
Belle Aerni 7ecaf786d5 Move RedBeanPHP to composer (#767)
* Move RedBeanPHP to composer

* Remove missed references to rb.php

* This *should* fix the tests

* Update DummyBean.php

* Remove payment adapter tests

They.. honestly didn't test much and are proving to cause issues when moving rb.php to composer
2023-02-05 08:43:37 -08:00
Belle Aerni 417a048885 bb-config.php --> config.php 2022-11-28 17:22:51 +03:00
Belle Aerni edb163f442 BB_PATH --> PATH 2022-11-28 17:22:51 +03:00
Belle Aerni ee676ca33a Update file references 2022-11-28 17:22:50 +03:00
evrifaessa d6b79c6d4a Remainings of the SolusVM module. 2022-11-22 22:15:53 +03:00
Yağızhan Burak Yakar ff197210d8 Follow-up 2022-05-18 20:23:15 +03:00
samapraku 8a1718c606 Upgrade tests to PHPUnit 9 2020-08-18 21:12:03 +02:00
4Giedrius cadd1b3a3f All tests should cleanup using tearDown() function. It results in 20-30% speed up.
http://kriswallsmith.net/post/18029585104/faster-phpunit
2015-05-26 12:40:35 +03:00
Vaidas Lungis a57d9f7092 reworked translation implementation
translation object added into DI
issue #207
2015-01-15 18:26:30 +02:00
fordnox 5af4cc20d9 Initial release 2014-11-03 09:00:47 +02:00