*
* @return void
*/
- public function testDefaults()
+ public function testDefaults(): void
{
$picture = new \Galette\Core\Picture();
$this->assertNull($picture->getDestDir());
*
* @return void
*/
- public function testSetters()
+ public function testSetters(): void
{
$this->assertNull($this->picture->getDestDir());
$this->assertNull($this->picture->getFileName());
*
* @return void
*/
- public function testFileInfoMimeType()
+ public function testFileInfoMimeType(): void
{
$url = realpath(GALETTE_ROOT . '../tests/fake_image.jpg');
$this->assertNotFalse($url);
*
* @return void
*/
- public function testStore()
+ public function testStore(): void
{
foreach ($this->expected_badchars as $badchar) {
$expected = \Galette\Core\Picture::INVALID_FILENAME;
*
* @return void
*/
- public function testErrorMessages()
+ public function testErrorMessages(): void
{
$this->assertSame(
'File name is invalid, it should not contain any special character or space.',