Skip to content

Code refactoring and modernization#24

Merged
MauricioFauth merged 7 commits into
phpmyadmin:masterfrom
kamil-tekiela:modernization
Sep 12, 2023
Merged

Code refactoring and modernization#24
MauricioFauth merged 7 commits into
phpmyadmin:masterfrom
kamil-tekiela:modernization

Conversation

@kamil-tekiela

Copy link
Copy Markdown
Contributor

No description provided.

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>

Update ShapeRecord.php

r
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
@MauricioFauth
MauricioFauth merged commit d747d10 into phpmyadmin:master Sep 12, 2023
@MauricioFauth MauricioFauth self-assigned this Sep 12, 2023
@MauricioFauth MauricioFauth added this to the 4.0.0 milestone Sep 12, 2023
@kamil-tekiela
kamil-tekiela deleted the modernization branch September 12, 2023 21:52
@MoonE

MoonE commented Sep 12, 2023

Copy link
Copy Markdown

@kamil-tekiela dd1362b breaks the phpmyadmin tests

There were 2 failures:

  1. PhpMyAdmin\Tests\Plugins\Import\ImportShpTest::testDoImport
    Failed asserting that PhpMyAdmin\Message Object #29202 (
    'number' => 8
    'string' => 'The imported file does not contain any data!'
    'message' => ''
    'isDisplayed' => false
    'useBBCode' => true
    'hash' => null
    'params' => Array &0 ()
    'addedMessages' => Array &1 ()
    ) matches expected ''.

/phpmyadmin/test/classes/Plugins/Import/ImportShpTest.php:84
/phpmyadmin/test/classes/Plugins/Import/ImportShpTest.php:170

  1. PhpMyAdmin\Tests\Plugins\Import\ImportShpTest::testImportOsm
    Failed asserting that PhpMyAdmin\Message Object #27819 (
    'number' => 8
    'string' => 'The imported file does not contain any data!'
    'message' => ''
    'isDisplayed' => false
    'useBBCode' => true
    'hash' => null
    'params' => Array &0 ()
    'addedMessages' => Array &1 ()
    ) matches expected ''.

/phpmyadmin/test/classes/Plugins/Import/ImportShpTest.php:84
/phpmyadmin/test/classes/Plugins/Import/ImportShpTest.php:135

MauricioFauth added a commit that referenced this pull request Sep 13, 2023
#24 (comment)

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
@MauricioFauth

Copy link
Copy Markdown
Member

dd1362b breaks the phpmyadmin tests

Fixed by 861d3b4. I reverted the change that caused the test to fail.

@kamil-tekiela

Copy link
Copy Markdown
Contributor Author

Thanks @MoonE for reporting the problem, and thanks @MauricioFauth for fixing it. I never imagined it could have been used this way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants